Hi all,(adsbygoogle = window.adsbygoogle || []).push({});

suppose I have a random discrete sequence like x= [1 2 3 2 5 2 4 2 3 1 6 3 5] (where possible outcomes are 1,2,3,4,5 or 6) and wanted to get its frequency distribution vector

f=[2 4 3 1 2 1] which means frequency of occurrence of 1 is 2 times, 2 occurs 4 times , and so on. I wanted a mathematical function or operator so that vector x can be transformed to f. Is it possible?

Generally x is the input to the system and f must be the output. And how this case can be generalized to continuous case.

TIA

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# I have a random sequence , is there some operation I can do on seq. to get its pdf?

Loading...

Similar Threads for random sequence operation |
---|

A Sum of independent random variables and Normalization |

I Beta Distributed Random Variates |

I Probability function for discrete functions |

I CDF of summation of random variables |

A PDF of random motion - similar to Browninan motion |

**Physics Forums | Science Articles, Homework Help, Discussion**