 |
|
List Archives > 
Mathcad List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[mathcad] Re: Help with creating a vector
| [mathcad] Re: Help with creating a vector |
|
Author: Stuart Bruff
Posted: Tue, 17 Jan 2006 01:40:35 -0000
|
Jean-Pierre,
Does the attached help?
Stuarrt
It's in M2000 format saved from M11
From: "Jean-Pierre van Gansberghe" "jpvg"
To: "Mathcad Discussion List" "mathcad"
Sent: Monday, January 16, 2006 8:58 AM
Subject: [mathcad] Help with creating a vector
> I have a vector of probabilities (obtained from a logistic distribution
> using lgsfit()) and another vector of forced binary choices (0, 1) made by
> a subject undergoing a psychometric trial.
> I need Mathcad to build a vector that shows probabilities (from first
> vector) if the choice in second vector is 1 only. I am trying to do that
> with Mathcad's IF(cond,x,y) but I am somehow lost in the syntax
> intricacies.
> Would anyone be willing to help ?
> I am using Mathcad 2001 Pro.
|
| [mathcad] Re: Help with creating a vector |
|
Author: Jean-Pierre Van Gansberghe
Posted: Tue, 17 Jan 2006 11:38:31 +0100
|
Thank you Stuart,
Exactly what I needed.
Jean-Pierre
Stuart Bruff wrote:
> Jean-Pierre,
>
> Does the attached help?
>
> Stuarrt
>
> It's in M2000 format saved from M11
>
>
> "jpvg"
> To: "Mathcad Discussion List" "mathcad"
> Sent: Monday, January 16, 2006 8:58 AM
> Subject: [mathcad] Help with creating a vector
>
>
|
| [mathcad] Re: Help with creating a vector |
|
Author: Sven Lindhardt
Posted: Wed, 18 Jan 2006 11:44:57 +0100
|
> Hello everyone,
> I have a vector of probabilities (obtained from a logistic distribution
> using lgsfit()) and another vector of forced binary choices (0, 1) made by
> a subject undergoing a psychometric trial.
> I need Mathcad to build a vector that shows probabilities (from first
> vector) if the choice in second vector is 1 only. I am trying to do that
> with Mathcad's IF(cond,x,y) but I am somehow lost in the syntax
> intricacies.
> Would anyone be willing to help ?
> I am using Mathcad 2001 Pro.
> Many thanks in advance.
> Jean-Pierre van Gansberghe
> "jpvg"
>
>
Hi Jean,
The attached file should do the trick.
Regards Sven Lindhardt
|
|
Attachments:
probvec.mcd
|
Previous by date: [mathcad] Re: DSP method, Quang-Viet Nguyen
Next by date: [mathcad] Re: DSP method, David Burton
Previous thread: [mathcad] Re: DSP method, David Burton
Next thread: [mathcad] Re: DSP method, David Burton
|
|
|