cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
M_Kraus
Level I

How is Std Error for Beta Binomial Distribution Analysis calculated? - differences between R and JMP

Hi All!

 

We are calculating beta binomial distribution parameters in R and wanted to compare the results and the std error.

Typically, the values for location and dispersion are up to 1% higher in JMP and there is also some discrepancy in the std error.

 

We would like to match here our R-code. 

May anybody provide a hint how the standard error for mu and rho are calculated? Fisher Matrix?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How is Std Error for Beta Binomial Distribution Analysis calculated? - differences between R and JMP

JMP uses the inverse of the information matrix to estimate the covariance matrix (and standard errors). https://en.wikipedia.org/wiki/Fisher_information

View solution in original post

5 REPLIES 5

Re: How is Std Error for Beta Binomial Distribution Analysis calculated? - differences between R and JMP

Have you seen the JMP Help about this topic? Is it possible that the R function or model uses a different parameterization?

M_Kraus
Level I

Re: How is Std Error for Beta Binomial Distribution Analysis calculated? - differences between R and JMP

I found this in your documentation:

Var(x) = np(1-p)[1+(n-1)δ]

Is this the Std Error shown in the table?

 

M_Kraus_0-1621346497115.png

 

Re: How is Std Error for Beta Binomial Distribution Analysis calculated? - differences between R and JMP

No, that quantity is the variance of the random variable when assuming a beta binomial distribution.

Re: How is Std Error for Beta Binomial Distribution Analysis calculated? - differences between R and JMP

JMP uses the inverse of the information matrix to estimate the covariance matrix (and standard errors). https://en.wikipedia.org/wiki/Fisher_information

M_Kraus
Level I

Re: How is Std Error for Beta Binomial Distribution Analysis calculated? - differences between R and JMP

Thank you very much. This is what I thought.

Recommended Articles