Can anyone explain this problem I'm having in Stata 15.
I just want to generate a variable which is an existing variable raised to a power. ^ operator doesn't seem to work with generate, even though it works fine with individual values in my data.
Array
Thanks,
Garrett
Related Posts with Exponent operator doesn't work with generate
'SWEXP': piecewise exponential distribution functionI thank Kit for making a command swexp available on SSC. This command calculates quantities from a …
Using value labels in graphs through loopsHi all, I am trying to create a graph of weekly_count_visittype (Y axis) and week_num (X axis) separ…
Reshaping data long to wide(NSS, 64th round)Hi, The data I am detailing with pertains to the household and individual-level data from the Natio…
How to use the results of LCA(Latent Class Analysis) in the next step of regression analysis?Hello! I used gsem to perform an LCA analysis and separated the categories. How can I use this cate…
Calculating 95% CI for a chi square analysis?If I'm looking for how a category "treatment type" affects category "diagnosis" in a 2x2 chi square …
Subscribe to:
Post Comments (Atom)
0 Response to Exponent operator doesn't work with generate
Post a Comment