$sysmis vs Sysmis vs Missing

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

$sysmis vs Sysmis vs Missing

Eric Langston

When are the appropriate times to use $SYSMIS vs sysmis vs Missing.

 

For example …

 

Recode var1 (missing=0). /* This does work */

Recode var1 (sysmis=0). /* This does work */

Recode var1 ($sysmis=0). /* This does NOT work */

 

Recode var1 (0=missing). /* This does NOT work */

Recode var1 (0=$sysmis). /* This does NOT work */

Recode var1 (0=sysmis). /* This does work */

 

It also comes up on COMPUTE, IF, SELECT, etc.

 

Thanks for your help …

 

---

Eric Langston

Research Analyst

Human Capital Research Corporation

500 Davis Street, Suite 1002

Evanston, IL 60201

(847) 475-7580  Phone

(847) 475-7584  Fax

 

Reply | Threaded
Open this post in threaded view
|

SV: $sysmis vs Sysmis vs Missing

Wilhelm Landerholm | Queue

Hi Eric!

 

This has a rather good explanation in HELP – TOPICS, search for Missing Value.

 

Or have a look at http://www.spss.com/corpinfo/newsletter/0108_tip.htm or http://www.spss.com/corpinfo/newsletter/0907_tip.htm

 

Please let me know if this is not what you are looking for.

 

All the best

 

Wilhelm Landerholm

Queue Sweden AB / STATB.COM

+46-735-460000

 

We let our customers decide how much they will pay.

Visit www.statb.com today.

 

 

Från: SPSSX(r) Discussion [mailto:[hidden email]] För Eric Langston
Skickat: den 18 april 2009 00:44
Till: [hidden email]
Ämne: $sysmis vs Sysmis vs Missing

 

When are the appropriate times to use $SYSMIS vs sysmis vs Missing.

 

For example …

 

Recode var1 (missing=0). /* This does work */

Recode var1 (sysmis=0). /* This does work */

Recode var1 ($sysmis=0). /* This does NOT work */

 

Recode var1 (0=missing). /* This does NOT work */

Recode var1 (0=$sysmis). /* This does NOT work */

Recode var1 (0=sysmis). /* This does work */

 

It also comes up on COMPUTE, IF, SELECT, etc.

 

Thanks for your help …

 

---

Eric Langston

Research Analyst

Human Capital Research Corporation

500 Davis Street, Suite 1002

Evanston, IL 60201

(847) 475-7580  Phone

(847) 475-7584  Fax