Math related question.

Discussion in 'Chit-Chat' started by Dave18, Apr 1, 2006.

  1. Dave18

    Dave18 Regular Member

    Joined:
    Oct 18, 2004
    Messages:
    456
    Likes Received:
    0
    Occupation:
    Student
    Location:
    Toronto
    Hey guys, this is going to be a very silly question but what does != mean?


    In one of my stats course, the prof used != in one of his notes and I have no clue what it means, I asked around as well.

    ex. n1 != n2


    Thanks.
     
  2. Tsumaranai

    Tsumaranai Regular Member

    Joined:
    Apr 1, 2006
    Messages:
    800
    Likes Received:
    1
    Occupation:
    Student
    Location:
    In your mind
    I.... don't think it means anything... Maybe he just wanted to emphasize it to all the non-attentive people.
     
  3. ldo123

    ldo123 New Member

    Joined:
    Aug 23, 2004
    Messages:
    23
    Likes Received:
    0
    Location:
    Seattle, WA
    well in computer science, it usually means "not equals"
     
  4. Dave18

    Dave18 Regular Member

    Joined:
    Oct 18, 2004
    Messages:
    456
    Likes Received:
    0
    Occupation:
    Student
    Location:
    Toronto
    Thats the only thing that would make sense. Thanks.
     
  5. george333

    george333 Regular Member

    Joined:
    Sep 2, 2005
    Messages:
    236
    Likes Received:
    0
    Occupation:
    Associate Director
    Location:
    Niagara Falls, NY
    maybe it mean n1 !(factorial) = n2

    ex. if n1 equaled 4

    4! = n2
    4 x 3 x 2 x 1=n2
    24 = n2

    At least in math the ! usually means factorial
     
  6. CanuckBur

    CanuckBur Regular Member

    Joined:
    Jun 12, 2004
    Messages:
    309
    Likes Received:
    0
    Occupation:
    Technical support.
    Location:
    Richmond, BC. Canada
    To be exact, != is "not equal to" in C or C++. I don't know the reason why he is using it in Stat. May be he also teaches programming.
     
    #6 CanuckBur, Apr 1, 2006
    Last edited: Apr 1, 2006
  7. iso300

    iso300 Regular Member

    Joined:
    Dec 9, 2002
    Messages:
    129
    Likes Received:
    0
    Location:
    Canada

    It's the factorial notation.

    For any positive integer n, n! literally means taking the product of [n*(n-1)*(n-2)*....*2*1]
    Basically you take the number n and you continue to multiply by the next lesser integer until you reach 1.

    i.e. 5! = 5*4*3*2*1=120

    I'll bet you are going through combinations and/or permutations right now? :)
     
  8. Dave18

    Dave18 Regular Member

    Joined:
    Oct 18, 2004
    Messages:
    456
    Likes Received:
    0
    Occupation:
    Student
    Location:
    Toronto
    Nope. Hypothesis testing and regression right now. :(

    I guess the prof used "n1 != n2" because he was too lazy to copy and paste the actual inequality. Lol
     
  9. Hagane

    Hagane Regular Member

    Joined:
    Dec 19, 2005
    Messages:
    226
    Likes Received:
    0
    Occupation:
    Transport Consultant
    Location:
    Melbourne
    n1 != n2

    Not equal under C/C++

    Perhaps he has never used the inequality sign (≠) for writing these notations.

    You'll perhaps often sees people writing them using ~=, which is a MATLAB standard notation for not equal.

    Many programmers will do this to you for several different things :)
    n1+=n2 (n1=n1+n2)
    n1-=n2 (n1=n1-n2)
    n1*=n2 (n1=n1*n2)
     
  10. iso300

    iso300 Regular Member

    Joined:
    Dec 9, 2002
    Messages:
    129
    Likes Received:
    0
    Location:
    Canada
    Since it's hypothesis testing, it's the "not equal to" sign. I'm guessing the notes in the course are electronic instead of handwriting, and that the teacher didn't use Latex to type it out. :)

    If the teacher meant to write the "not equal to" sign on the board then it would have been easier to make an equal sign and then cross it. :rolleyes:
     
  11. Hagane

    Hagane Regular Member

    Joined:
    Dec 19, 2005
    Messages:
    226
    Likes Received:
    0
    Occupation:
    Transport Consultant
    Location:
    Melbourne
    It'd only be easier in Latex, but you don't have to use Latex to do so :p
    MS office have an Equation tool which can do this, or you can look it up using Character Map :D

    After all.. it's all UNICODE characters ;)
     

Share This Page