612 reputation
314
bio website
location Earth
age
visits member for 2 years
seen Mar 26 at 14:37
stats profile views 58

Feb
17
accepted How to find quantiles for multivariate data using R?
Feb
17
asked How to find quantiles for multivariate data using R?
Feb
4
comment How to speed up clustering analysis in R?
yes. I was using mclust.
Jan
31
accepted Plot of the estimated log hazard ratio in R
Jan
29
accepted Can a categorical variable be divided by a numerical variable?
Jan
29
comment Can a categorical variable be divided by a numerical variable?
Yes from a mathematical point of view I understand it. But I still can't image. Such as (female = 1)/ 0.3 = 3.3333. What does 3.333 mean for sex variable?
Jan
29
revised Can a categorical variable be divided by a numerical variable?
added 136 characters in body
Jan
29
comment Can a categorical variable be divided by a numerical variable?
Onestop, thanks for answering my question but 0/1 or no/yes does not change the characteristic of the variable. The variable $r_{si}$ is still a binary "categorical" variable. Am I right? Thus, how can a binary categorical variable be divided by a numerical number?
Jan
29
asked Can a categorical variable be divided by a numerical variable?
Jan
22
asked Inverse probability of treatment weighted (IPTW) estimator for a binary outcome
Jan
21
comment Using monte carlo integration with bisection method to find a true value in R
Hi Elvis, I just email you Austin's papers. many thanks!
Jan
21
comment Using monte carlo integration with bisection method to find a true value in R
I also think to use "integrate" but it does not make sense to me when covariates are binomial. I still do not how can binomial variable can use integrate. thanks
Jan
21
comment Using monte carlo integration with bisection method to find a true value in R
Hi Elvis, I used your method to check with Austin's result when x1,...,x5 are standard normal distributed with N = 10000, for 1000 simulated datasets. My answer is around -0.1496281, which is far away from 0.858468. However, your method makes more senses to me than Austin's method. Thanks
Jan
21
comment Using monte carlo integration with bisection method to find a true value in R
Elvis, many thanks. In Austin PC (2010) paper, he has 5 different simulated scenarios. One of them has 5 covariates and each of covariates is standard normally distributed. He simulated 1000 datasets and each dataset has 10000 subjects. His beta = 0.858468 for gamma = 0.02. I don't know how he got this but I think your answer is based on one dataset and it should be very close to his answer. again many thanks
Jan
21
revised Using monte carlo integration with bisection method to find a true value in R
deleted 46 characters in body
Jan
21
comment Using monte carlo integration with bisection method to find a true value in R
thank you for your suggestion.
Jan
21
awarded  Editor
Jan
21
accepted Using monte carlo integration with bisection method to find a true value in R
Jan
21
revised Using monte carlo integration with bisection method to find a true value in R
deleted 117 characters in body
Jan
20
asked Using monte carlo integration with bisection method to find a true value in R