Normal view
- Well distributed sets โ mathoverflow.netNote: All integrals are taken with respect to Lebesgue measure. The symbol $\def\avint{\mathop{\rlap{\raise.15em{\scriptstyle -}}\kern-.2em\int}\nolimits} \avint$ denotes the average integral. We say ...
- How did White lose all their pieces? โ puzzling.stackexchange.comRecently, I have been dabbling in composing a few retrograde chess puzzles. This one, I feel, turned out quite nice: In the game leading to the position below, White somehow lost both their rooks and ...
How did White lose all their pieces? โ puzzling.stackexchange.com
- On Pareto functions โ mathoverflow.netThe Pareto principle says that the top 20% of wealthy people people hold over 80% of the wealth. Suppose we had a non-negative function on $\mathbb R^n$ that satisfied this principle on every open ...
On Pareto functions โ mathoverflow.net
- Efficient C Tokenizer/Lexer in C++ โ codereview.stackexchange.comI wanted to create my own compiler for C and it's the first prototype of the Lexer. Any thoughts on improvements? Note: I forgot to add comment lines in header files while I was coding, but I assure ...
Efficient C Tokenizer/Lexer in C++ โ codereview.stackexchange.com
- Does every series of hyperreal numbers converge to some hyperreal number? โ mathoverflow.netI am currently trying to find some field $F$ which includes $\mathbb{R}$ (or $\mathbb{C}$) and in which series $x^* = \sum_{i\in\mathbb{N}} x_i$ converge to some element of the field. (i.e. $x^* \in ...
Does every series of hyperreal numbers converge to some hyperreal number? โ mathoverflow.net
- Is there a true one-dimensional object? โ physics.stackexchange.comI'm reviewing and expanding my knowledge of dimensions. We live in three spatial dimensions but, apart from volume, we also have the concept of surface and curve. However, if you write a line on ...
Is there a true one-dimensional object? โ physics.stackexchange.com
- R Survfit shows lower OS than PFS while data seems correctI've tried to create a Kaplan Meier Analysis and get the 4 year PFS and OS. For some reason, the output is a lower OS at 1460 days (0.518) than PFS (0.546). Where is my mistake? library(survival) library(readxl) library(survminer) CTrial <- read_excel("trial 2023.xlsx",sheet = 2) # Fit Kaplan-Meier survival curve fit <- survfit(Surv(PFSMonth, Event_PFS) ~ 1, data = CTrial) summary(fit) fit <- survfit(Surv(OSMonth, Event_OS) ~ 1, data = CTrial) ##followed by a + if the subject was cens
R Survfit shows lower OS than PFS while data seems correct
I've tried to create a Kaplan Meier Analysis and get the 4 year PFS and OS. For some reason, the output is a lower OS at 1460 days (0.518) than PFS (0.546). Where is my mistake?
library(survival)
library(readxl)
library(survminer)
CTrial <- read_excel("trial 2023.xlsx",sheet = 2)
# Fit Kaplan-Meier survival curve
fit <- survfit(Surv(PFSMonth, Event_PFS) ~ 1, data = CTrial)
summary(fit)
fit <- survfit(Surv(OSMonth, Event_OS) ~ 1, data = CTrial)
##followed by a + if the subject was censored. Letโs look at the first 10 observations:
##PFS
time <- CTrial$PFS
event <- CTrial$Event_PFS
Surv(time, event)[1:33]
summary(survfit(Surv(time, event) ~ 1, data = CTrial), times = 1460)
##OS
time <- CTrial$OS
event <- CTrial$Event_OS
Surv(time, event)[1:33]
summary(survfit(Surv(time, event) ~ 1, data = CTrial), times = 1460)
I already tried to analyze the data for possible entry errors, but it does not seem off.
These are the outputs from Surv(time, event)[1:33]
, + is censored:
Thanks so much!
- Is there a way to manipulate World bank data is extracted by using wbgapi so that it prints country names, I need to merge that file with another oneI am trying to merge two different files by using the index/key 'Country', could you guys please help me? I feel confused and couldn't maaniouate the Wdi data that prints the country names similar to the civ file so that I can merge them successfully. Thanks csv bank data bank data mnaipuated based on the task given error
Is there a way to manipulate World bank data is extracted by using wbgapi so that it prints country names, I need to merge that file with another one
I am trying to merge two different files by using the index/key 'Country', could you guys please help me? I feel confused and couldn't maaniouate the Wdi data that prints the country names similar to the civ file so that I can merge them successfully. Thanks
csv bank data bank data mnaipuated based on the task given error
- Evaluating a rational function integral in a quick way โ math.stackexchange.comIn an recent test I was asked to evaluate the integral $$ \int_0^1 \frac{\sqrt[3]{x^2(1-x)}}{(1+x)^3} \text{d}x$$ in 8 minutes, but I didn't have a clue what to do with it. After the test, I tried the ...
Evaluating a rational function integral in a quick way โ math.stackexchange.com
- Negative feedback amplifier โ electronics.stackexchange.comThe following circuit diagram is from a book on electronic circuits. The Current source \$I_s\$ is driver of the amplifier. It was written that this amplifier has negative feedback. It seems that if ...
Negative feedback amplifier โ electronics.stackexchange.com
- An inequality in an Euclidean space โ mathoverflow.netFor $n\geq 1$, endow $\mathbb{R}^n$ with the usual scalar product. Let $u=(1,1,\dots,1)\in\mathbb{R}^n$, $v\in {]0,+\infty[^n}$ and denote by $p_{u^\perp}$ and $p_{v^\perp}$ the orthographic ...
An inequality in an Euclidean space โ mathoverflow.net
- A visualization for the quotient rule โ matheducators.stackexchange.comContext: first year didactics of mathematics course for middle school teacher students (in Norway). I have a reasonable visualization for the product rule of derivatives: Consider a rectangle with ...
A visualization for the quotient rule โ matheducators.stackexchange.com
- derivative of the max function โ math.stackexchange.comSay real-valued function $f(x,y)$ is everywhere differentiable, consider the function $g(y)=\underset{x}{\max}f(x,y)$, I think this funcion is also everywhere differentiable, but how to prove it? And ...
derivative of the max function โ math.stackexchange.com
- Nev: Let's see what Arsenal are made of | Liverpool have 'overachieved'On a dramatic Super Sunday where Arsenal and Liverpoolโs title challenges were significantly dented, Sky Sports pundit Gary Neville says the Gunners must show what they are made of against Bayern Munich - and feels Jurgen Kloppโs side have "overachieved" this season.
Nev: Let's see what Arsenal are made of | Liverpool have 'overachieved'
- Is there a way to access a variable from a acctual CHILD class?ps: I dont want to acess a parent class var but rather an actual child class How do I access the $table var from User class? I know it sounds silly but is there a way to access this child class var without declaring it in the Model class? example if I comment public $table in Model class the code wont work anymore because this var "does not exist" My point being: since this var is going to be "replaced" so why we suppose to declare it? Thanks class User extends Model { public $table = "User
Is there a way to access a variable from a acctual CHILD class?
ps: I dont want to acess a parent class var but rather an actual child class
How do I access the $table var from User class? I know it sounds silly but is there a way to access this child class var without declaring it in the Model class?
example if I comment public $table in Model class the code wont work anymore because this var "does not exist"
My point being: since this var is going to be "replaced" so why we suppose to declare it?
Thanks
class User extends Model {
public $table = "User table";
}
$user = new User();
$user->insertIntoDatabase();
class Model {
public $table;
public function insertIntoDatabase() {
echo "Inserted into ". $this->table ." database <br>";
}
}
?>
- Interpreting a notation in calculus of variations (differentiating with respect to a derivative) โ math.stackexchange.comConsider a functional $J[y]$ defined by: $$J[y] = \int_a^b F(x, y, y') dx \tag{1}$$ Here, $F$ is a function that depends on the independent variable $x$, the function $y(x)$, and its derivative $$y' = ...
Interpreting a notation in calculus of variations (differentiating with respect to a derivative) โ math.stackexchange.com
- Real-world examples of unweighted directed graphs โ mathoverflow.netSocial Networks, Internet Traffic, Citation Networks, Transportation Networks, and Biological Networks exemplify real-world instances of unweighted directed graphs. Within these domains, the Graph ...
Real-world examples of unweighted directed graphs โ mathoverflow.net
- What is the intuition behind applying the Mellin Transform to prime distribution? โ mathoverflow.netI am an undergraduate student writing an expository thesis on the complex-analytic proof of the Prime Number Theorem. I understand that applying the Mellin Transform to the partial sum of the van ...
What is the intuition behind applying the Mellin Transform to prime distribution? โ mathoverflow.net
- Taxicab Geometry โ mathematica.stackexchange.comAccording to taxicab geometry, there are 1226 possible paths from A(2,5) to B(7,9), all with a distance of 9 units, |2-7|+|9-5|=9. I wanted to write a code where I could be obtaining the plots of some ...