Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65050

Matrix Loop Problem!!!

$
0
0
Dear,

I am having trouble creating a matrix that saves these results (prob>F value) for this loop. Please Help.

I cannot seem to even find a way to call on the prob>F value. Thank you so much!!!!

Code Below:

foreach x of varlist nq*_a{
quietly svy: mean `x', over (qprov)
foreach y in _subpop_1 Alberta Saskatchewan Manitoba Ontario Quebec Atlantic North{
foreach z in _subpop_1 Alberta Saskatchewan Manitoba Ontario Quebec Atlantic North _subpop_1{
if "`y'"!="`z'"{
test [`x']`y' = [`x']`z'
}
}
}
}

Viewing all articles
Browse latest Browse all 65050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>