1 Dimensional Representation of a Gaussian Distribution

Click For Summary

Discussion Overview

The discussion revolves around creating a one-dimensional representation of a Gaussian distribution, focusing on how to visualize the distribution by manipulating the spacing of x-values based on the corresponding y-values (frequencies). Participants explore the implications of this representation and the challenges involved in achieving it.

Discussion Character

  • Exploratory, Technical explanation, Conceptual clarification, Debate/contested

Main Points Raised

  • One participant describes a desire to represent a Gaussian distribution on a number line, where the spacing between x-values reflects the frequency of the distribution rather than the y-values being plotted directly.
  • Another participant suggests calculating the Gaussian function values at equally spaced x-values and plotting them, but acknowledges this does not align with the original intent of the first participant.
  • A further reply proposes a method of selecting points along the y-axis and drawing lines to the curve, indicating that the x-axis points would be non-uniformly spaced based on the function's behavior.
  • There is a suggestion that using the derivative of the function might be more appropriate for achieving the desired spacing, while also noting potential complications with multivalued inverses in the Gaussian function.
  • One participant expresses frustration at the complexity of the task and indicates a lack of clarity on how to proceed.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach to achieve the desired representation, with multiple competing ideas and methods being proposed. The discussion remains unresolved regarding the optimal solution.

Contextual Notes

Participants acknowledge the need for a relative distribution and the potential complications arising from the properties of the Gaussian function, such as multivalued inverses. There are also hints at the necessity of defining specific intervals for the representation.

dacruick
Messages
1,038
Reaction score
1
Hi,

I currently have a Gaussian distribution (Normalized Frequency on the y-axis and a value we can just call x on the x-axis).

So for the sake of simplicity, let's say that I ignore any values below 0 and any values above 1 on the x-axis. Then what I will do is take 10 equal segments (0.1 units in length) of the remaining gaussian distribution. Then this is where I get confused. What I want to have is a 1 dimensional representation of this distribution. The y-axis will be represented by the distances between two x-values. So for example, if the slope between 2 points is a large positive number, the distance between the two points will be decreasing because the frequency is increasing. If the slope is 0, then the distance between the points will be constant, because there is a constant frequency.

Does this make any sense?

I feel like this idea can be easily done and the solution is dangling right in front of me but I just can't seem to get it.

Thank you in advance for any help.

dacruick
 
Physics news on Phys.org
It sounds like basically what you want to do is plot the values y = f(x) = \exp(-x^2/2)/\sqrt{2\pi} on a number line. Pick 10 (or however many you want) equally spaced values of x, calculate f(x), and then plot the values of f(x) on a number line.
 
well that's the thing, I don't want the y values on the number line. I want the x values on the number line. Those x-values cannot be equally spaced, I want the space between the x values to correspond to the y value.

I want the space between the x values to reflect the distribution (frequency). But this will have to be a relative distribution. That I believe is my issue. Since I want to be assigning 10 points in each interval, The spacing cannot be dependent on the height because near the average x value there will be higher frequencies. So it might have to be slope dependent??
 
Ok, in that case you pretty much do the same thing, just in reverse. Pick ten equally spaced points along the y axis, draw lines from points on the y-axis to the curve y = f(x), then straight down to the x-axis. The points on the x-axis are non-uniformly spaced (for general f(x)) and the distance between them tells you about how f(x) changes.

I've attached a sketch to show you what I mean.

To get exactly what you want, perhaps you want to use f'(x) instead of f(x), but the basic idea is the same. The main issue you might encounter is a function which would have a multivalued inverse (such as a gaussian). For that you'll have to choose a section that's well defined to do this for.

It seems like this still isn't quite what you're looking for, but hopefully it helps give you an idea of what you could do.

EDIT: Actually, what you might want to do this for is the integral of f(x). That way if your function has a region of constant slope, the integral will be linear there, and this method will give you evenly spaced points on the x-axis for that region.
 

Attachments

  • 1dline.PNG
    1dline.PNG
    728 bytes · Views: 516
Last edited:
this is going to be harder than I thought haha. I don't really see a solution right now.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 30 ·
2
Replies
30
Views
5K