+ Reply to Thread
Results 1 to 3 of 3

dummy variables

Hybrid View

  1. #1
    Registered User
    Join Date
    12-20-2008
    Location
    Malaysia
    Posts
    35

    dummy variables

    Hello all

    i have data on number of employees in culomn A range from 1 to 10000
    i need to generat four dummy variables in column B,C,D and E as the following
    s=1 if number of employees 1-50 and zero otherwise
    m=1 if number of employees 51-100 and zero otherwise
    l=1 if number of employees 101-1000 and zero otherwise
    xl=1 if number of employees 1001-10000 and zero otherwise

    THANKS
    Last edited by Miloud; 11-25-2009 at 02:51 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: dummy variables

    s: =and(a1>=1, a1<=50) + 0
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    12-20-2008
    Location
    Malaysia
    Posts
    35

    Re: dummy variables

    Thanks Boss

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1