Thread: standard Normal Distribution

  1. #1
    Unregistered
    Guest

    Question standard Normal Distribution

    i'm wondering how I can create a program about standard Normal Distribution using C program

  2. #2
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    what is standard normal distribution?

  3. #3
    Unregistered
    Guest
    If you mean standard deviation, it's not difficult.

  4. #4
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    > i'm wondering how I can create a program about standard Normal Distribution using C program
    The world is waiting. I must leave you now.

  5. #5
    Unregistered
    Guest
    Normal distribution is a bell-shaped curve. Standard deviation is used to measure the steepness of the curve.

  6. #6
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    i'm wondering how I can create a program about standard Normal Distribution using C program
    And I am also wondering how you can create a program about Standard Normal Distribution. Have you written any code for it?
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  7. #7
    Registered User
    Join Date
    May 2002
    Posts
    34
    You need to figure out the formulas, and identify any constants such as mew, for example, and write out the formulas in C code using the standard C function library.

    The standard normal distribution I believe is used only in certain cases in which binomial resolution can not be attained. You might even have to add a table for normal distribution z scores and areas that your program references.

    If you plan is to draw graphs than you need to use your compilers graphics device interface, which varies from compiler to compiler. Be more specific in what you want to accomplish.

  8. #8
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    >i'm wondering how I can create a program about standard
    >Normal Distribution using C program

    You could use the formula for normal distribution as base for a function. The parameters can be passed as parameters to the function, which makes the function general and reusable in other applications.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 03-08-2008, 08:50 PM
  2. redirecting standard error in Bash
    By wozza in forum Linux Programming
    Replies: 3
    Last Post: 07-16-2002, 04:55 AM
  3. Using c++ standards
    By subdene in forum C++ Programming
    Replies: 4
    Last Post: 06-06-2002, 09:15 AM
  4. random number with lognormal distribution?
    By carrie in forum C++ Programming
    Replies: 4
    Last Post: 11-08-2001, 08:31 PM
  5. Replies: 5
    Last Post: 10-12-2001, 03:51 AM