223 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
41
views
NLTK Conditional Frequency Distribution with Aggregation
I'm trying to write an NLTK ConditionalFreqDist with some aggregated fields based on data from the fileid.
Basically, I have a corpus of documents with fileids consisting of a DATE-TITLE format, e.g., ...
0
votes
2
answers
76
views
Different class intervalls (breaks) according to specific values in the histogram
I would like to create class intervals in the histogram according to the Body mass index (BMI) classification, and color the columns.
The categories are:
Underweight (Severe thinness) < 16.0 -> ...
1
vote
3
answers
103
views
Binary database into a frequency table
I am using R to write a report for a class, and I have a pretty big binary database (1 and NA) to indicate presence or absence.
`# A tibble: 149 ×ばつ 31
Vide Copé. Ca...1 Copé....2 Copé....3 Copé....4 Polyc...5...
0
votes
2
answers
121
views
How is the 'cut' function setting intervals?
I'm new to R and am trying to set up the components of a frequency table (frequency, cumulative frequency, relative frequency, and cumulative %). I was given a set of 24 numbers (ranging from 64 to ...
0
votes
1
answer
264
views
R: relative frequency in a table
I am working with quantil binomial and runif functions with R to simulate values.
My goal is get relative frequency with this function. The frequency that I get are ok, but the the relative frequency ...
0
votes
2
answers
177
views
How to loop through specific column names to generate a frequency table in SQL?
I am looking for a way to run frequencies for a number of different columns. I'm used to working in SAS and SQL is still new. In SAS I'd run a proc freq; table var1 var2 var3; run; command; however, ...
0
votes
1
answer
123
views
pandas cut function's output is not understandable
ı want create frequency table with pandas ı tried this code but ı dont understand output also ı want change class range
data:
Rank
1 18.42
2 20.93
3 31.50
4 23.99
5 5.65
...
1
vote
1
answer
228
views
Rounding in frequency tables in R
I was wondering if anyone proficient in R/RMarkdown would be able to guide me with an issue. I am looking to generate a frequency table and so far, I have been using tableby of the arsenal package as ...
0
votes
0
answers
921
views
How to use geom_freqpoly in R for a frequency distribution?
I have a large dataframe with polygons (>40 000 records) called data. Each polygon has a certain area with values between 1000 m2 and 1096345 m2. The smallest polygons are the most frequent. I want ...
0
votes
0
answers
63
views
Creating a smoothed heat map with normalized frequencies per column [duplicate]
I am studying the relationship between the concentration of a metabolite (hypocretin) and a continuous outcome variable (BMI). I want to create a frequency heat map in which different concentrations ...
0
votes
1
answer
72
views
Frequency and time-freqeuncy domain features for a sinusoidal signal in Python
I have the following sine wave signal created in Python:
# Import libraries
import numpy as np
import matplotlib.pyplot as plt
Fs = 1000 # Sampling ...
0
votes
2
answers
140
views
For a simple key-value pair list JSON, use jq to print a summary by range of values
Consider the following JSON having a list of key-value pairs
{
"session1": 128,
"session2": 1048596,
"session3": 3145728,
"session4": 3145828,
"...
0
votes
1
answer
135
views
Frequency distribution is not returning words but letters
I am trying to find what words appear the most often.
But each time I run FreqDist it does not return the most common words but letters.
FreqDist({' ': 496, 'e': 306, 't': 205, 'a': 182, 's': 181, 'n':...
1
vote
1
answer
122
views
Tidy data with frequency weights in rows
I have collected non-tidy data from different studies. Assume this data is about studies that report on a number patients having treatment_x and with a treatment outcome in percentages and an x number ...
0
votes
1
answer
37
views
What SAS function can I use to count variables and perform frequency distribution in order to calculate the number of options available?
Hellow, how the number of options available should be calculated in SAS?
My data:
Obs Density$ P1 P2 P3 P4
1 0500_0600 0 0 0 0
2 0500_0600 0 0 0 0
3 0500_0600 0 0 0 ...