Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [aggregation]

Refers to "lumping together" potentially inhomogeneous groups of data.

0
votes
0answers
16 views

Recommended model to analyze relationship with aggregate rate

In order to analyze the relationship between some independent variables and a binary dependent variable, it is standard to use logistic regression, which allows us to model the probability of the ...
0
votes
0answers
35 views

What is the effect of different goalposts values on MinMax normalization of composite indicators?

I want to compute a synthetic index based on several indicators for one country on a time period. The indicators have different ranges and units. I want to normalize them using a MinMax ...
0
votes
0answers
38 views

R package for two-level weighting

(a) i have results of several hundred group discussions. these are group level attributes. (b) i know for each group, how many group members attend a certain school type S or live in a certain region ...
0
votes
0answers
50 views

Aggregate and interpolate overlapping time-series data

I'm trying to aggregate counter data from two different types of measurements. The first type of measure gives an exact value of the counter on a given day. ...
0
votes
0answers
18 views

Regression by no means significant for each stimuli, but significant when variables aggregated over stimuli. Anything wrong with this?

I'm having a problem I can't solve by myself and I would very much appreciate help. So data was collected over 100 participants, each had to fill out a survey in which two independent variables and ...
0
votes
0answers
13 views

Pretest - posttest design - Aggregating several variables who measure the same construct but related to different targets

This question relates to a group-randomized pre-posttest design where a group of supervisors underwent a leadership training. One of the hypothesized outcomes was that subordinate leadership ...
0
votes
1answer
36 views

Aggregation of “tree results” in random forest regression

I would like to know how the results of different decision trees are aggregated (average) in random forest regression. If I have a numeric target variable and 10 predictors, each decision tree is ...
2
votes
0answers
36 views

How to aggregate histograms for density estimation

Within a very large sensor network, each node does take measurements derived from a fixed number of samples taken at a high frequency from an instrument. The number of measurements send to an ...
0
votes
1answer
35 views

Machine Learning model with aggregated data as training

I would like to predict a LABEL: A,B or C using a classification machine learning model. My data to train the model is like: ...
0
votes
0answers
28 views

Are estim. coef. and R-sqrd expected to change at different levels of aggregation (hierarchical data)?

I am working with hierarchical data and I want to estimate the same model (y=a+xb) at different levels of aggregation. For example, the first model (m1) uses individual data, the second model (m2) ...
-2
votes
1answer
30 views

Aggregating Cluster Analysis Results [closed]

I want to write something about cluster analysis. I have started to read something about it and I faced with a concept which is called ''Aggregating''. What does it mean for cluster analysis? Do I ...
2
votes
1answer
28 views

Aggregation of overlapping intervals

Hello anyone and everyone, I have a data set of traffic flow data, particularly intensity data. I have the traffic counts per minute as the base data and then I am aggregating them into 3 and 5 ...
0
votes
0answers
18 views

Combining distributions

I have a ruler and a set of poles $S$. My ruler is not perfect, so a length measurement of one pole yields in fact a sample of a probability distribution (e.g. natural scientists usually find normal ...
0
votes
0answers
22 views

Is there a theoretical justification for the idea that aggregating time series data leads to better forecasts?

In retail demand forecasting, we often resort to aggregating data across product or location hierarchies to obtain more accurate forecasts. I understand the concept intuitively: You have a better ...
0
votes
0answers
16 views

Difference-in-Differences: y variable as quantity at monthly level

I want to estimate a difference-in differences equation with the following "background story": I have a data set of apartment listings for the months of November 2014-November 2017. Some of the ...
0
votes
0answers
19 views

Aggregate Data from Unequal Sample Size

I need to aggregate land price data from several station areas for a later regression analysis. However, each station area has different sample size and total area. ...
0
votes
1answer
154 views

How do I aggregate percentiles from previously aggregated percentiles?

I have previously aggregated data for every 5 minutes with a count of sensors at that location and 5% percentiles of a value of interest: 5th, 10th, ..., 90th, 95th. A sensor can have multiple ...
0
votes
0answers
27 views

Linear Regression: Different levels of aggregation for different variables

I have the dataset with different levels of aggregation for different independent variables. E.g.: Var.1, Var.2 measured per SKU Var.3 measured per Brand (couple of SKUs) Let's say I want to predict ...
0
votes
0answers
21 views

Time Series Data: Unequal Sample sizes

I have a dataset which consists of daily observations over a 3 month period for different variables. The data are aggregated so I do not have access to user level data. The problem is that the ...
3
votes
2answers
63 views

Aggregate repeated measures data or model it?

The structure of my data is causing me some trouble because I'd prefer to aggregate it but I'm not sure of the implications. It's from an experiment comparing dwell time. The subjects were randomly ...
2
votes
1answer
43 views

Forecasting proportions of aggregations vs direct forecasting

Assume one has to predict the sales of a shop on a daily basis. The sales per day $S(t)$ clearly follow a strong weekly pattern, but also a yearly pattern, a general trend and of course some noise are ...
1
vote
1answer
24 views

How to summarize items and still calculate percentiles?

My company wants to track request latencies for the project I'm working on. Specifically, the report I'm building should have the 95th and 99th percentile values of the latencies over all events. ...
3
votes
2answers
37 views

Many samples of the same identity for machine learning

This seems to be a simple question, yet I couldn't find a clear answer on the net. I'm using machine learning to classify ill/healthy patients based on their medical record (probably using a Random ...
0
votes
1answer
24 views

Feature selection: Should we keep all metrics (like mean. median,..) of a distribution or they make redundant features?

There are many cases in which I don't know which metric I should use to calculate the value of a feature when the value has a distribution for each data point instead of an absolute number. for ...
0
votes
0answers
17 views

Calculate a Margin of Error for a Re-calculated Median from aggregated ACS data

I am trying to create a function in R to calculate the 90% MOE for a re-calculated median from aggregated ACS data. The steps to do this are described here and I was able to find a custom function ...
1
vote
0answers
22 views

OLS difference between individual level and aggregate level estimates

I am new here, so please accept my apologies if this does not belong here. My question essentially concerns what appears to me a special case of the ecological fallacy. Consider a simple model that ...
0
votes
0answers
11 views

Chi-Squared test (for proportions) with data aggregated across time — dealing with possible correlation

I have a question regarding how best to use the $\chi^2$ test with aggregate data. To give you an idea of what I'm dealing with, here is a concise list of facts that I think you will need: Suppose ...
2
votes
0answers
16 views

Fuzzy Aggregation

Each observation in the data consists of a binary outcome variable $Y$, a set of labelled measurements $(M_1,L_1), (M_2,L_2)...$ (the set size can vary between observations) where each label is one of ...
0
votes
0answers
3 views

Is it possible to update an aggregated dataset by changing the reference group by which an indicator is mesaured?

I have a publicly available dataset that I am using for a project. The data is aggregated on the neighborhood level and the data is originally from the US Census. The data I have from this dataset ...
0
votes
0answers
9 views

How to compute the aggregate response in a panel

I have a panel where I can measure the causal effect of changes in $x_{it}$ on outcomes $y_{it}$. If $i$ indexes sub-national units, like states or provinces, then can I then use the local estimates ...
0
votes
0answers
17 views

How many quantiles to use when estimating the parameters of a distribution from a large sample

I wish to estimate the parameters of a member of a specified distributional family with CDF F(x) by using the quantiles of a large (tens of thousands) sample drawn from that distribution and a GMM-...
0
votes
0answers
11 views

Need advice aggregating data for computing correlations between variables given by dataset

I am trying to find correlation between Opioid Severity and Employment Statistics. I don't have access to my professor right now. So I have 2 datasets. 1 dataset measures Opioid concentration (...
1
vote
0answers
43 views

Calculating/Averaging/Aggregating Effect Size Across Multiple Measurements

What is the standard practice for calculating a total effect size (using Cohen's d) across multiple measurements in one study? Do you calculate the effect size for each measurement and then take the ...
1
vote
0answers
230 views

R mlogit and McFadden R^2 (strange?) value

I was a little bit surprised by the high value of the McFadden R^2 given by the "mlogit" R package for this simple model: f = mFormula(mode ~ log(cost) | 1 | 1) ...
0
votes
0answers
13 views

What can I put instead of missing value in variable that represents maximum of lab tests

I have a data set which includes a lot of variables that are basically an aggregated function over the years of the study. Each row represents a patient, each column a measure. The study period is 4 ...
0
votes
1answer
29 views

Summarise data with R - other than n counts [closed]

I've got donor segments Donors aged 34 and younger, vs. donors aged 35 and older Donors with a high frequency of donations vs. donors with a low frequency of donations Every row in my data frame ...
0
votes
0answers
22 views

How can I understand influence of individual observations on an aggregated total?

**Background: ** I'm trying to understand what is driving an increase or decrease in the total insurance claims spend for a given month compared to last month. I can look at some specific measures ...
0
votes
0answers
30 views

What test to use for aggregate and cumulative data?

I am exploring the role of social media on voting/voter registration for millennials (18-36) and those 37-65. I have us census bureau data that provides cumulative data by age on voting numbers and ...
3
votes
0answers
48 views

Is it dangerous to take the mean of ratio measurements?

I'm going through a Computer Architecture course and in one of the lectures they mention that when measuring the difference in runtime performance between two systems, using for example multiple ...
0
votes
0answers
30 views

Sum of correlated time series

I have some time series, for which I have point and density forecasts - i.e. I have confidence intervals. I'd like to sum those. Summing the point forecasts is trivial, but I'm not sure how to sum the ...
4
votes
1answer
497 views

Regularized GLM with aggregated data

I am fitting a poisson GLM to model claim rates. Since I have 1.5m+ records, I have aggregated my data (to improve efficiency). My understanding is that using aggregated data with a poisson GLM will ...
1
vote
0answers
120 views

Aggregating normalised data

I want to aggregate Google Trends data relating to separate queries that share a thematic category - e.g. "beer" and "wine". I don't care about the relative popularity of the terms - it is more ...
0
votes
1answer
42 views

Averaging bang for the buck

I'm building a table/graph to compare multiple video cards according to a given benchmark. The benchmark consists of multiple measurements using games. For each benchmark measurement, I build a ...
0
votes
0answers
17 views

Difference in proportions test - aggregate to quarter-level with indicator variables

My data is structured such that, for each quarter, I have a binary outcomes y for each entity. Entities are identified by unique ...
0
votes
0answers
9 views

Can I use Krippendorff's Alpha for aggregate level data?

Basically, I want a measure for how diverse an area is demographically. At the moment, I have the area, its population, then the demographic measure, essentially taken from an individual level survey (...
1
vote
0answers
57 views

When is it appropriate to pool trials within subjects for statistical comparisons?

Usually I have small number of subjects (e.g., 4-6 rodents) and I record electrophysiological activity during presentation of a stimulus or performance of a task. A general question that arises when ...
0
votes
0answers
28 views

Aggregated Means Differ in Regression

I try to run a difference-in-difference model based on single observations which I have to aggregate in order to generate an outcome variable "w.mortf" = mortality. My original data set provides a ...
3
votes
1answer
49 views

Privacy through moving averages?

I am considering the following hypothetical situation: I have a time series of data. In general, 'the public' should have access to features of this data. However, making the time series available ...
0
votes
0answers
84 views

how to aggregate composite indicators of mixed data using weight based on factor analysis of mixed data (famd)?

how to aggregate composite indicators of mixed data using weight based on factor analysis of mixed data (famd)? i just know for principal component analysis (pca) or numerical data can using weighted ...
0
votes
0answers
31 views

Can i treat Asselin 2002 linear categorical composite indicator of multiple correspondence analysis as a geometrical function as in OECD 2008?

in Asselin (2002) http://www.ipc-undp.org/conference/md-poverty/papers/Louis-Marie_.pdf , the expression of the categorical composite indicator of multiple correspondence analysis (qualitative ...