Hi,
I am running a functional Dunn's test (over time) and would like to store results from the matrix for each time observation. I've tried different variations (please see below) but I get an error. I'm not sure how to store these results in .dta. If this is not an option, can you please advise how can I store results of r(P) for each time observation? Stored results of Dunn's test include scalars and matrices but I would like to obtain values from stored matrices.
statsby matrix r(P) , by(time) clear: dunntest Wchange, by(category) ma(bonferroni)
statsby matrix p=r(P), by(time) clear: dunntest Wchange, by(category) ma(bonferroni)
Here is a link to Dunn's test which has a section on Stored Results: https://ageconsearch.umn.edu/record/...art_st0381.pdf
Thank you in advance,
I am running a functional Dunn's test (over time) and would like to store results from the matrix for each time observation. I've tried different variations (please see below) but I get an error. I'm not sure how to store these results in .dta. If this is not an option, can you please advise how can I store results of r(P) for each time observation? Stored results of Dunn's test include scalars and matrices but I would like to obtain values from stored matrices.
statsby matrix r(P) , by(time) clear: dunntest Wchange, by(category) ma(bonferroni)
statsby matrix p=r(P), by(time) clear: dunntest Wchange, by(category) ma(bonferroni)
Here is a link to Dunn's test which has a section on Stored Results: https://ageconsearch.umn.edu/record/...art_st0381.pdf
Thank you in advance,
Comment