I have a continuous clock variable, with a cumulative count over time.
I want to plot the counts over time. I want the x-axis (time/clock) to bin by day of the month.
twoway scatter screen_cum screen_clock, xlabel(#23, format(%tcD))
But Stata insists on only displaying 19 daily bins on the x-axis. How can I force one per day?
I'm guessing it's doing something it thinks looks nice, and putting a tick every 1.15 days or something, in an arbitrary position within a day.
Ideally, I would have them binned with labels as in Dr. Cox's Stata Tip 55, but I think this is beyond me for now.
Thanks much!
Array
Related Posts with Bin by day on x-axis from clock
Pseudo Panel using cohortsi have 3 rounds of cross sectional survey data of firms. i wish to estimate the productivity of the …
Linear Models With Many Levels of Fixed Effects( REGHDFE)Dear Stata Members I ran the following panel regression with firm fixed effects(in my case, xtset i…
Numbering new values of a variable 1 to NMy data has a country variable using three digit ISO-3166 codes. The underlying codes aren't quite s…
Match observations in a panel datasetI have a panel survey data of each individual's price forecast. In each month, a subset of first-tim…
double integral in MataHey all, I am working on to implement a random effect zip model in Mata. The model includes two ran…
Subscribe to:
Post Comments (Atom)
0 Response to Bin by day on x-axis from clock
Post a Comment