Statistics Help @ Talk Stats Forum - R
http://www.talkstats.com/
R programming and usage, R news, R tips and tutorialsenWed, 01 Mar 2017 20:18:37 GMTvBulletin60http://www.talkstats.com/images/misc/rss.pngStatistics Help @ Talk Stats Forum - R
http://www.talkstats.com/
Simulating Data
http://www.talkstats.com/showthread.php/68824-Simulating-Data?goto=newpost
Wed, 01 Mar 2017 13:31:50 GMTHi!

I have a bit of a weird question. I'd like to simulate data that looks like this in R:

Simulate the Y axis variable (rate/percentage) from a uniform distribution (runif) between 0.05 and 0.45. Next, for each rate, assign a random integer (Y-axis) between 0-1600. This crude approach doesn't quite work well and the data don't end up looking no where nearly as nice as this.

Any strategies that I might try? I will be using the data for recreating my own funnel plot. Can I use the characteristics of the plot to help simulate better data (e.g. the overall proportion of the data is 0.20 as indicated by the horizontal line, and since I will be using identical confidence limits (95, 99), maybe I can use Z-values from the binomial approximation to the normal to help curb this a little). Sorry if this sounds a bit incoherent, but please let me know if I need to provide more details. To the coffee machine!
TIA
]]>Rjamesmartinnhttp://www.talkstats.com/showthread.php/68824-Simulating-Dataggseasonplot Change Starting Label
http://www.talkstats.com/showthread.php/68816-ggseasonplot-Change-Starting-Label?goto=newpost
Tue, 28 Feb 2017 16:36:39 GMTIn the 'forecast' 8.0 package in R, you can run the below code and get the accompanying figure. The default on the figure is to start labels for weeks using 'Sunday'. My data starts on a 'Friday'. I would like to make the starting label Friday instead of Sunday.

]]>Rhlsmithhttp://www.talkstats.com/showthread.php/68816-ggseasonplot-Change-Starting-LabelProbit Marginal Effects output for Latex
http://www.talkstats.com/showthread.php/68815-Probit-Marginal-Effects-output-for-Latex?goto=newpost
Tue, 28 Feb 2017 16:07:55 GMTI am computing probit marginal effects from R mfx package. I want to generate Latex code for the marginal effects output. I tried stargazer package...I am computing probit marginal effects from R mfx package. I want to generate Latex code for the marginal effects output. I tried stargazer package for OLS and probit coefficients, it works fine for both, however for probit marginal effects (by using probitmfx command) it doesn't work.

Please help me in this regard, thanks.
]]>Rrizwanhttp://www.talkstats.com/showthread.php/68815-Probit-Marginal-Effects-output-for-Latex