Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Percentage analysis of large two collum data list' topicStudent Support Forum > General > Archives > "Percentage analysis of large two collum data list"

Next Comment >Help | Reply To Topic
Author Comment/Response
Michael
02/13/13 2:16pm

Hi, I have a specific problem that doesn't seem to be all that common. I have a data set with ~90 values, that have two characteristics: "Intensity", and "MeV". MeV, though a number, should only be used as an identifier string.

"Intensity" is a decimal value that is only relative to other "Intensity". I want to:

>Add up all the values of "Intensity"
>Determine the percentage of each unique value of Intensity relative to the total, and list it, identified by it's unique MeV string.

For example, if my table looks like this:

MeV   Intensity
1   1.2
2.3   6.4
2.7   8.8
3   9.9

I want an output of:

MeV   Percentage
1   0.0456
2.3   0.2433
2.7   0.3346
3   0.3764

This seems like it should be trivial to do, but it doesn't seem to come up as a problem too much, at least in this format. Any help would be appreciated! Thanks.

URL: ,

Subject (listing for 'Percentage analysis of large two collum data list')
Author Date Posted
Percentage analysis of large two collum data list Michael 02/13/13 2:16pm
Re: Percentage analysis of large two collum dat... Bill Simpson 02/13/13 5:20pm
Re: Re: Percentage analysis of large two collum... Michael 02/13/13 6:51pm
Next Comment >Help | Reply To Topic