Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Calculating frequencies
psp
Hi All
I need to calculate some frequencies.
Lets say I have an exampleSet with attributes Gender, Age and N. N is the number of people with a given gender and age. I need a new exampleSet with attributes Age and MaleFreq. Any easy method?
regards
Peter
Find more posts tagged with
AI Studio
Accepted answers
All comments
earmijo
You can filter the Example Set using the operator "Filter Examples". Keep Gender==Male.
(From what I understand from your question the aggregations has already been done).
psp
Thanks!
But how do I calculate MaleFreq? For a given age, It should be something like MaleFreq = N(Male)/(N(Male)+N(Female)). How is that possible?
haddock
Hi,
You might also find the 'Aggregate' operator useful, curiously.
Hope so!
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups