Subscribe Bookmark RSS Feed

JMP Equivalent to SAS MODEL events/trials?

pmroz

Super User

Joined:

Jun 23, 2011

I have data that looks like this:
11151_pastedImage_0.png

Reporting Fraction = A/AB


I would like to model the Reporting Fraction as a function of Period, but use the A and AB columns.  In SAS the LOGISTIC procedure supports the following form:


<label:> MODEL events/trials=<effects></ options> ;

In the events/trials syntax, you specify two variables that contain count data for a binomial experiment. These two variables are separated by a slash. The value of the first variable, events, is the number of positive responses (or events). The value of the second variable, trials, is the number of trials. The values of both events and (trials–events) must be nonnegative and the value of trials must be positive for the response to be valid.


Is there something equivalent in JMP's generalized regression platform?  My A column represents events, and AB represents trials.

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

According to:

http://www.jmp.com/support/help/Distribution_Option_in_Generalized_Regression.shtml

Y has a binomial distribution with parameters p and n. The response, Y, indicates the total number of successes in n independent trials with a fixed probability, p, for all trials. This distribution allows for the use of a sample size column. If no column is listed, it is assumed that the sample size is one. The link function for p is the logit. When you select Binomial as the Distribution, the response variable must be specified in one of the following ways:

(Method 3):

Summarized with sample size column entered as second Y: If your data are summarized as frequencies of events (successes) and trials, specify two continuous columns as Y in this order: the count of the number of successes, and the count of the number of trials.

2 REPLIES
Solution

According to:

http://www.jmp.com/support/help/Distribution_Option_in_Generalized_Regression.shtml

Y has a binomial distribution with parameters p and n. The response, Y, indicates the total number of successes in n independent trials with a fixed probability, p, for all trials. This distribution allows for the use of a sample size column. If no column is listed, it is assumed that the sample size is one. The link function for p is the logit. When you select Binomial as the Distribution, the response variable must be specified in one of the following ways:

(Method 3):

Summarized with sample size column entered as second Y: If your data are summarized as frequencies of events (successes) and trials, specify two continuous columns as Y in this order: the count of the number of successes, and the count of the number of trials.

pmroz

Super User

Joined:

Jun 23, 2011

Thanks Ian works great!