Statistics Help @ Talk Stats Forum - R
http://www.talkstats.com/
R programming and usage, R news, R tips and tutorialsenThu, 02 Apr 2015 03:07:40 GMTvBulletin60http://www.talkstats.com/images/misc/rss.pngStatistics Help @ Talk Stats Forum - R
http://www.talkstats.com/
How to obtain density values of the heat map of kernel density distribution ?
http://www.talkstats.com/showthread.php/60252-How-to-obtain-density-values-of-the-heat-map-of-kernel-density-distribution?goto=newpost
Thu, 02 Apr 2015 02:08:00 GMTHi all,

So that looks tricky to me since I'm not specialized in statistics and softwares, but I'm hopeful that someone will give me an answer.

I used R to generate a kernel density distribution of puncta within the region outlined in the figure attached. The problem now that I don't know how to identify the puncta density per color (for example, number of puncta detected per hot spots/ red regions). The reason is because I want to attach a heat map to the figure in order to clarify the gradient of puncta clustering (Blue=0, Red= value of highest density)

I used MASS and RColorBrewer packages, and this is the code I used to generate the density distribution map:

]]>Rkoronfelinahttp://www.talkstats.com/showthread.php/60252-How-to-obtain-density-values-of-the-heat-map-of-kernel-density-distributionProportions and CIs based on different factor levels
http://www.talkstats.com/showthread.php/60251-Proportions-and-CIs-based-on-different-factor-levels?goto=newpost
Wed, 01 Apr 2015 22:25:37 GMTI'm wondering if there's a package/function that can give me the proportion and confidence intervals of different factor levels. I have data that include demographic variables (gender, age group, ethnicity, etc) and a response variable of obesity status. So, for example, inputs would be gender and obesity status and the output would be a table or data frame of the proportion and CI of obese females and males; or with ethnicity the proportions and CI of obese white, black, asian, hispanic, etc.

This seems like a relatively straightforward thing to do, but before I started writing it myself, I wanted to see if there's a package that can already do it. A google search didn't really yield anything, but I just might have a poor search term.

Does this exist?
]]>RAPOCooterhttp://www.talkstats.com/showthread.php/60251-Proportions-and-CIs-based-on-different-factor-levelsNumerical Integration
http://www.talkstats.com/showthread.php/60247-Numerical-Integration?goto=newpost
Wed, 01 Apr 2015 15:17:27 GMTHey I'm trying to learn techniques of numerical integration and would like to hear from anybody else if they know of any litterature - preferable easily available (read downloadable) - they consider to be MUST read.

To be more precise I am interested in techniques involving one and two dimensional integrals. Primarily I am working with transformations of normal variables.

And I would prefer a cookbook approach explaining how to - step by step - implement this technique in R or Matlab. I need the techniques for actual applications so a theoretical explanation of why the technique works from a mathematical point of view is of secondary importance.
]]>RJesperHPhttp://www.talkstats.com/showthread.php/60247-Numerical-Integration