Hello experts
I'm trying to perform a Stratification-Multilevel analysis using the hte package. However, when I use any of my variables as a factor, I get the following error:
factor-variable and time-series operators not allowed
r(101);
The code works when my variables are not indicated as a factor, as shown below:
hte sm Filhos_Total sup racac idade ocuppaic migagreg Escpais maeadol urbc [pw=V32039], estcom(poisson) noisily
The problem occurs when I indicate that one of them is a factor, as with the i.ocuppaic variable in the code bellow:
hte sm Filhos_Total sup racac idade i.ocuppaic migagreg Escpais maeadol urbc [pw=V32039], estcom(poisson) noisily
Does anyone know what is happening? Is it a sintax error?
Related Posts with factor-variable and time-series operators not allowed r101
Creating summary statistic tables with multiple variables with multiple super-columns.Hi all, I am trying to replicate the results of a paper, and I am having trouble creating nicely fo…
Assigning dates and days of week in a long datasetHello, I have a long dataset with observations that represent all of the days that a person was enr…
iterations - stteffects ipwraHello, I am attempting to the stteffects ipwra in order to study the effect of drug1 on time to deat…
Difference between the two options under model two tab for three stage least squares?In stata after going to statistics-->endogenous covariates ---> Three stage least squares and …
Propensity Score with TEFFECTS / IPWRA: is it possible to create a bar graph showing covariate balancing?In looking through the TEFFECTS help files & PDF manual, I do see that a graph of individual cov…
Subscribe to:
Post Comments (Atom)
0 Response to factor-variable and time-series operators not allowed r101
Post a Comment