Here is my code as shown below, when I run it, it always report error "( invalid name". Somebody please help me with this.
tempname myresults
postfile `myresults' threshold intercept gradient se using myresults.dta
forval x=1(1)65{
capture noisily xi:regress lnSale lnYearlyIndOut fyear if mi==`x',robust
post `myresults' (`x') (`=_b[_cons]') (`=_b[lnYearlyIndOut]') (`=_se[lnYearlyIndOut]')
}
Related Posts with why always (invalid name
Rounding the coefficientsDear Researchers, I am sorry, my question may sound silly, but I searched for the answer and the an…
how to assess the effects of confounders in an associationHi everyone I am trying to answer a question if there is a causal effect association between two va…
How do I obtain prevalence ratios using the logistic command?I am using the "logistic" command to estimate a binary outcome (yes/no response, cross-sectional sur…
Referencing local variable in nested foreach var of varlistHi, I would like to do something which I believe is fairly simple, but I can't get the syntax corre…
Hazard as a Propensity Score for Matching - Propensity Score Matching with Time-Dependent CovariatesHello, I am trying to create a matched sample using hazard ratios by observation by id. I am conduct…
Subscribe to:
Post Comments (Atom)
0 Response to why always (invalid name
Post a Comment