I am using circsummarize to describe time of the day data (24 h clock) with the statistics mean direction and confidence intervals for variables regarding times of mosquitoes biting activity reported by housedholders in a Colombian malaria endemic region. I am no sure how the data should be recorded (degrees? or radians?), before to apply circsummarize.
In the help for circsummarize in Stata the description says that the statistics for circular variables with scales between 0 and 360 degrees. In contrast, in the help for circular I found: "Stata expects angles to be in radians (pi radians = 180°)" an the factors _pi / 180 and 180 / _pi are mentioned for conversion between angles and radians.
I apply circsummarize to my data recorded in both degrees and radians (degrees converted to radians) and althought the statistic mean direction an confidence intervals (converted to hours) are very similar, they are no equal. I would appreciate very much your help.
Related Posts with How record variables to apply circsummarize: degrees or radians?
Panel data: xtoverid rejects RE for model with only time controls; odd result or information?Dear Statalisters, I am using interrupted time series methods on household panel data. I have month…
Creating new outcome variable - invalid syntax r(198) problemI have twelve disease variables in my dataset. I want to to create an outcome variable "multimorbidi…
How to change a line pattern within a same graph? Hi, I would like to plot a graph using Code: twoway line and draw a different graph pattern after …
Loop for moving rangeGoodafternoon, I have a file which includes a significant amount of cusips (S&P1500) and dates …
Confusing behavior by ustrregexs()I'm trying to use ustrregexs to extract substrings from a string. With the data below: Code: clear…
Subscribe to:
Post Comments (Atom)
0 Response to How record variables to apply circsummarize: degrees or radians?
Post a Comment