Dear All, What is the minimal group size for level sufficient to use "sts test var, trend"? Specifically, having many levels in var, say, var = 1,2,3,..15 I want to check the trend for survivor functions for 1, 2, ,,,15 but not sure what is the minimal groups size required for each level var = 1, 2, 3, ....15. I know we can use this also for, say, var = 1, 1.5, 2.5 , .... but can't find any suggested minimal group size for each var value to make sure I can use this "sts test var, trend" test. Stata calculates this even having one observation for some levels (so it looks I can do kind of univariate analysis for continous variable, but one-observation survivor function used in testing the trend for all the levels rather doesn't make sense). If using "sts test var, trend strata(dummy)", what would be then minimal group required for all levels in dummy==0 and in dummy==1. Many Thanks.
Related Posts with sts var, trend
Quadratic Growth ModelDear Stata experts, I'm handling with a longitudinal data from a twin study and want to investigate…
staet problem with maximum length of observationI am using Stata 15.1 on Windows 10. stset gives a too low maximum observation time (16.949 years an…
quarterly data--calculate the standard deviation of quarterly data over the past four yearsGood morning, I am currently working with the quarterly return data and want to calculate the stand…
looping over multiple files - there are new variables in some filesDear stata members, I am trying to loop over multiple files (rounds) of data. In the first two roun…
Curve fitting to a scatter plotDear all, Is there a way in Stata to fit a curve to specify the frontier value for every GDP per ca…
Subscribe to:
Post Comments (Atom)
0 Response to sts var, trend
Post a Comment