Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Discussions
- :
- What is the format for parameters for the Random Normal Mixture?

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

What is the format for parameters for the Random Normal Mixture?

Mar 31, 2015 11:44 AM
(1413 views)

Suppose I want mean1 = 20, Mean2 = 40, SD1 = 10, SD2 = 10, Probability1 = 0.8, Probability2 = 0.2. How do I put these numbers in vectors for the "meanvec", "sdvec" and "probvec"?

2 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: What is the format for parameters for the Random Normal Mixture?

Mar 31, 2015 12:14 PM
(1278 views)
| Posted in reply to message from dean_boerrigter 03/31/2015 02:44 PM

Random Normal Mixture**([****20**, **40****]**, **[****10**, **10****]**, **[****.8**, **.2****])**

Or if you want to use variables for the vectors

M= matrix**(**evallist**({**mean1 = **20**, Mean2 = **40**, SD1 = **10**, SD2 = **10**, Probability1 = **0.8**, Probability2 = **0.2****}))**;

//Example

dt = New Table**(**"Test",

add rows**(****500****)**,

New Column**(**"RNM", Formula**(**Random Normal Mixture**(**M**[****1** :: **2****]**, M**[****3** :: **4****]**, M**[****5** :: **6****])))**

**)**;

dt << **Distribution****(**Continuous Distribution**(**Column**(**:RNM**)))**;

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: What is the format for parameters for the Random Normal Mixture?

Apr 1, 2015 2:32 PM
(1278 views)
| Posted in reply to message from dean_boerrigter 03/31/2015 02:44 PM

Thanks. That works!