[R] HOW to determine the number of components of the mixture model stratfied by age

David Winsemius dwinsemius at comcast.net
Thu Oct 29 12:05:35 CET 2009


On Oct 28, 2009, at 10:41 PM, lybaomc wrote:

>
> DOES NOBODY KNOW?
> HELP!

You submitted a question that appeared somewhat vague and had no  
reproducible example. Sometimes people will step forward and create a  
particular example to demonstrate coding options but there is no  
expectation that someone _should_ do so. Generally the cycle time to  
an answer is less than 24 hours so during the last week you should  
have been asking yourself what _you_ might have in the construction of  
your question that made it answer-unworthy.

Read the Posting Guide. The answer to "how to write a good question"  
for r-help should be there.

-- 
David.
>
> lybaomc wrote:
>>
>> Hi,all
>>
>>    with my data,there are more than 1000 quantitative results of  
>> antibody
>> concentrations, there may be 2 components(positive and negative),  
>> or 3
>> components (may be strong positive, positive, and negative), or 4-6
>> components. Could you tell me how to determine the number of  
>> components of
>> the mixture model? the  "anova.mix" in mixdist of the R software  
>> seems not
>> work.
>>
>>    my data is a little complicated(TABLE ), there are more than 1000
>> quantitative results of antibody concentrations stratified by age.The
>> overall density of results at age j, Fj, is a mixture of the  
>> component
>> densities, so if there are 5 age groups, then there will be 5 mixture
>> models. Do i have to analyse each stratum respectively?
>>
>> TABLE
>> ------------------------
>> age  Bin   length   freq
>> ------------------------
>>    1     1     19.75     4
>>    1     2     21.75    10
>>             …………
>>    1    12    41.75    36
>>             …………
>> ------------------------
>>    2     1     19.75     4
>>    2     2     21.75    10
>>             …………
>>   2    12    41.75    36
>>             …………
>> -----------------------
>>
>> appreciated
>>
>> lybao
>>
>
> -- 
> View this message in context: http://www.nabble.com/HOW-to-determine-the-number-of-components-of-the-mixture-model-stratfied-by-age-tp25971060p26105416.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list