Hello everyone.
I'm a new-ish Stata (v18) user... about 6 months now. I'm getting a "last estimates not found" error, when adding parameters to a Manova. The only thing recently changed in my dataset was the addition of a calculated variable (CapSt), which uses two other variables in the dataset.
1) My code: by Year, sort: manova Currentratio Dayscashonhand Excessmargin CapSt = HospType - this code runs just fine, but when I add If statements,
2) With If: by Year, sort: manova Currentratio Dayscashonhand Excessmargin CapSt = HospType if HospType==2 - I get the error.
I've seen comments that say an estimation command should be run first, so I ran an xtmixed command for HospType and Year, and that ran just fine (my code: by HospType Year, sort: xtmixed Currentratio Dayscashonhand Excessmargin CapSt)
***The dataset contains approximately 52,000 observations, for 12 hospital types, across a 5-yer timeframe.
***My desired results would actually show Manova by Hospital type for each year.
***My intended post-hoc would actually show Tukey by Hospital type for each year.
Thanks in advance for your comments/help/feedback.
Cassandra.
I'm a new-ish Stata (v18) user... about 6 months now. I'm getting a "last estimates not found" error, when adding parameters to a Manova. The only thing recently changed in my dataset was the addition of a calculated variable (CapSt), which uses two other variables in the dataset.
1) My code: by Year, sort: manova Currentratio Dayscashonhand Excessmargin CapSt = HospType - this code runs just fine, but when I add If statements,
2) With If: by Year, sort: manova Currentratio Dayscashonhand Excessmargin CapSt = HospType if HospType==2 - I get the error.
I've seen comments that say an estimation command should be run first, so I ran an xtmixed command for HospType and Year, and that ran just fine (my code: by HospType Year, sort: xtmixed Currentratio Dayscashonhand Excessmargin CapSt)
***The dataset contains approximately 52,000 observations, for 12 hospital types, across a 5-yer timeframe.
***My desired results would actually show Manova by Hospital type for each year.
***My intended post-hoc would actually show Tukey by Hospital type for each year.
Thanks in advance for your comments/help/feedback.
Cassandra.
Comment