# Tu.2

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

# 118 Actions

 Feb17 accepted How to find quantiles for multivariate data using R? Feb17 asked How to find quantiles for multivariate data using R? Feb4 comment How to speed up clustering analysis in R?yes. I was using mclust. Jan31 accepted Plot of the estimated log hazard ratio in R Jan29 accepted Can a categorical variable be divided by a numerical variable? Jan29 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? Jan29 revised Can a categorical variable be divided by a numerical variable?added 136 characters in body Jan29 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? Jan29 asked Can a categorical variable be divided by a numerical variable? Jan22 asked Inverse probability of treatment weighted (IPTW) estimator for a binary outcome Jan21 comment Using monte carlo integration with bisection method to find a true value in RHi Elvis, I just email you Austin's papers. many thanks! Jan21 comment Using monte carlo integration with bisection method to find a true value in RI 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 Jan21 comment Using monte carlo integration with bisection method to find a true value in RHi 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 Jan21 comment Using monte carlo integration with bisection method to find a true value in RElvis, 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 Jan21 revised Using monte carlo integration with bisection method to find a true value in Rdeleted 46 characters in body Jan21 comment Using monte carlo integration with bisection method to find a true value in Rthank you for your suggestion. Jan21 awarded Editor Jan21 accepted Using monte carlo integration with bisection method to find a true value in R Jan21 revised Using monte carlo integration with bisection method to find a true value in Rdeleted 117 characters in body Jan20 asked Using monte carlo integration with bisection method to find a true value in R