instruction stringlengths 9 38.7k |
|---|
Background
Consider a clustering problem where a dataset of measurements $Z\triangleq\{z_i\}_{i=1}^m$ must be partioned in $n$ clusters, where $n$ is unknown and must be estimated.
Here the term "partition" has the following specific meaning:
a partition $P$ is a finite set of $n$ clusters $C_1,\dots,C_{n}$: $P\triang... |
I have a dependent variable named "FGR" which represents a ratio and takes values between 0 and +Inf. The histogram plot below illustrates the distribution of FGR, excluding +Infinite values
To categorize the FGR variable, I created a new ordinal variable called "FGR_cat" with three categories:
fit1 (<0.30)
fit2 (>= 0... |
I'm currently trying to implement a normalizing flow (NF) to efficiently sample from a product distribution $p=fg$. Contrary to most examples I've come across, I actually know how to sample analytically from both $f$ and $g$, but sampling from their product requires a large tabulation which quickly become intractable i... |
I know that in Variational Inference the idea is to approximate the posterior P(z|x, y) and I know that Variational AutoEncoders (VAEs) use the idea of variational inference through neural network architecture to approximate P(z|x) in the encoding phase and P(x|z) through decoding.
However, I cannot understand how VAEs... |
Data I am using is Relative Humidity from 2004-01-01 to 2022-12-01 (day is always 01 as it is a monthly average). I established a linear regression model to find a trend.
Used the residuals and plotted ACF and PACF but have no idea on how to interpret this.
I am noticing seasonality (all I understood). So Seasonal ARI... |
I have a model where I have missing values on binary-X.
When I want to use FIML to include all the missing cases, my STDY estimates (that I'm supposed to interpret as the X is binary) change into the STDYX, meaning that the estimate is not intuitively interpreted anymore as X can only be 0 or 1.
Is there another way to... |
It is well known that the distribution of the studentized mean, i.e., $T_0 = \frac{n^{1/2} (\bar{x}- \mu)}{\left(n^{-1} \sum \limits_{i=1}^n (x_i^2 - \bar{x}^2)\right)^{1 / 2}} $, can be approximated (in terms of the normal cdf/pdf) by Peter Hall theorem ("Edgeworth Expansion for Student’s t Statistic Under Minimal Mom... |
Suppose I have a quantity that is measured periodically, that is continuous in the following sense: In order for the quantity x to move from x=a to x=b, x must pass through all the values between a and b, though these intermediate values may occur between measurements. Let the measurements of x follow a known distribur... |
Let's say I have a participant who performs a test and I am measuring EMG (multiple trials/epochs). This participant has to come in for multiple sessions and every time the EMG is measured. Now I want to find out if features that are found in EMG are informative for predicting the result of the test.
For every signal, ... |
How can I prove that OLS estimators under Heteroscedasticity is inefficient? Will comparing with OLS estimators under Homoscedasticity suffice? But how will I do that? Can anyone help asap?
|
I am currently performing a meta-analysis focusing on investigating the changes in variable A following weight loss. To address this, I have included studies that provide pre-and post-intervention A levels for both intervention and control groups. This will allow me to calculate the standard mean differences and varian... |
Consider a Cobb-Douglas model :
$$
y = \beta_0x_1^{\beta_1}x_2^{\beta_2}
$$
I would like to know if we can talk about interaction in this model concerning the variables $x_1$ and $x_2$. When thinking of this with $x_1$ the labour, $x_2$ the capital and $y$ the the total production we like to think of $\beta_1$ and $\b... |
I'm working with a dataset on ecosystem invasion, where individuals of an invasive species are "colonizing" a specific species of tree, tracked over time. Count data were collected 4-6 times in regular discrete intervals on 23 individual trees, with counts increasing on some trees and decreasing on others week to week.... |
I have a large dataset containing the fitting results which contains ~10k observations. The dataset includes ~10k predicted values and actual values for different datasets, and we define $bias_i = actual_i - predicted_i$, and overall bias is mean(bias). I need to evaluate whether the bias is large enough or not, so we ... |
This is a question arose from an argument I had about a statistical explanation.
We are comparing two models using their negative log-likelihoods. Given that we are unable to split the data into a training and test set (why is not important in this question), we have to find another way to account for the complexity of... |
I am seeking to develop a three-staged algorithm that should be able to detect change in
Mean
Variance
Both Mean and Variance simultaneously if they exist.
I would be glad if this program can also produce a forecast for the series. MLE is popping up as suggested by some authors but I really need further documentation... |
I have a conceptual question regarding the testing of a directional hypothesis in regressions.
Usually, we test a higher-higher relationship: The higher X -> the higher Y.
What if my hypothesis is this: the lower X -> the higher value Y.
Example: The lower the number of Books someone owns, the higher number of hours sp... |
I am working with the kaggle Blueberry Yield prediction dataset. There are 17 columns including the target variable. Below is the correlation heat map:
It can be seen that multiple features are correlated among themselves in a linear manner. Therefore, to find the non-linear relationships, I proceeded with statsmodels... |
p=ggplot(df, aes(x=logcon, y=res)) +
geom_jitter(aes(y= (res),color=TRTGRP), width = 0, shape=1,size=1,height = 0.01) +
geom_smooth(method="glm", se=T, method.args = list(family=binomial))+ theme_bw()+
+scale_x_continuous(breaks = 10^x)
I want to use geom_smooth with log10(x) and y data and just want to just display x ... |
I have several long time series (60 years) of meteorological and soil-related variables. My goal is to analyze the temporal dimension of each variable separately, fill in the gaps in the dataset using Generalized Additive Models (GAMs), and predict their effects on the richness and diversity of herbaceous plants. I hav... |
I am trying to improve the fit for my CFA model below.
RI.Model <- '
Reexperiencing =~ c_ri18 + c_ri10 + c_ri5 + c_ri11 + c_ri14
Avoidance =~ c_ri13 + c_ri3
CogMood =~ c_ri6 + c_ri22 + c_ri25 + c_ri27 + c_ri7 + c_ri17 + c_ri12 + c_ri23 +
c_ri2 + c_ri9 + c_ri16 + c_ri15 + c_ri19
Arousal =~ c_ri8 + c... |
I'm trying to implement MF with SGD to my sample data following thru https://nbviewer.org/github/albertauyeung/matrix-factorization-in-python/blob/master/mf.ipynb.
And, it's hard to figure out why the function returns na for RMSE only when I enter bigger numbers in the matrix. In the link, it uses a matrix with relativ... |
I have the following statistical model where for $w \in (1,2,...,W)$, $\theta = (\eta, \mu, \sigma^2)$, and for fixed $\beta$
$$Y_w = f(\theta, \beta, w) + \gamma_w$$
where
$$\gamma_w \sim N(\gamma_{w+1}, \sigma_{\gamma}^2)$$
is a reverse random walk and
$$f(\theta, \beta, w) = \beta + (\eta - \beta)exp(-(log(w) - \mu)... |
Chapter 2 of Multilevel Modeling Using R introduces the intraclass correlation (in the context of a model with one cluster variable treated as a random effect) as $$\rho_{I} = \frac{\tau^2}{\sigma^2 + \tau^2}$$
where $\tau^2$ is the population variance between clusters, and $\sigma^2$ is the population variance of with... |
I am working with sequences that consist of 20 building blocks. Those 20 building blocks were characterized using different parameters and after linear PCA, the first 3 principal components were extracted. Now, what I am interested in is characterizing groups of sequences using these three PCs. For that, I first averag... |
Coming from mathy background I feel it is very important to formalize a task well in order to solve it well. However, I currently feel unconfortable with my understanding of the essence of the supervised learning problem.
The primary goal of supervised learning is prediction. One has labelled data $(x_1,y_1), ..., (x_m... |
I am wondering if anyone has suggestions for resources discussing how to properly carry out statistical analysis across multiple groups, for something like evaluating the accuracy of a thermometer that has the following:
a) variation between the readings from a single device.
b) variation between units of the same manu... |
From the beginning of the most introductory statistics course, the declaration of a null and alternative hypothesis is the "first step" of any good experiment and subsequent analysis. Now that I have been venturing into more complex courses and topics, I see this exercise still being performed. I have always perceived ... |
I have an instrument that measures a value.
It is only possible to measure the value once i.e. the experiment can't be repeated (think recording a car's speed as it drives past).
The instrument is not calibrated.
I have access to n different instruments, each with their own unknown calibration. I might have 4 or 5.
I e... |
Please could you help me?
I have been trying for quite some time to fit a mixed model with multiple binary and continuous predictors and an ordinal dependent variable. Subject ID defines the random intercepts.
I have more than 3053 observations from 176 subjects in two main conditions (dreams and mindwandering; for whi... |
I am simulating survival times from a joint model of longitudinal and survival data,
\begin{equation}
\begin{split}
& Y_i(t) \sim N(\mu_i(t), \sigma_y^2) \\
& \mu_i(t) = \beta_{0i} + \beta_{1i} t + \beta_2 x_{1i} + \beta_3 x_{2i} \\
& \beta_{0i} = \beta_{00} + b_{0i}\\
& \beta_{1i} = \beta_{10} + ... |
I am trying to run a test on coefficients relationship after linear regression. How can i test the following relationship: b_4<b_3<b_2<b_1<0
Thank you!
|
I'm following a tutorial paper on sample entropy, and I implemented the algorithm myself in Rust.
To check my work, I used Wikipedia's python code in this article. I have computed an example by hand that doesn't give the same result with this code.
My hand done example:
Data : [1.0, 2.0, 3.0, 4.0, 5.0], r = 1.5, m=2.
T... |
I am having an issue with calculating the odds ratio for my variables, when I used epitab from epitools I get a different result than using oddsratio()
I have tried changing the level of reference. This is the data:
Disease Feeding 1 0 zero-pasture 46 192 zero-graze 317 1212 pasture 38 266
|
I have collected data that is the time between discrete random events and I have a parameter $V$ (voltage) that changes the mean rate of my events. I have used MLE to fit the exponential distribution for all different instances of $V$ (the exponential distribution fit my data neatly in each case) and now want to invest... |
Let $X_t$ be an MA$(q)$ process defined as
\begin{equation}
X_{t}=\mu +\overset{q}{\underset{j=0}{\sum }}\theta_{j}\varepsilon_{t-j}=\mu +\theta_{0}\varepsilon_{t}+\theta_{1}\varepsilon_{t-1}+\theta_{2}\varepsilon_{t-2} + \ldots
\end{equation}
where we ask that $\theta_0=1$. This requirement is for "identifiability pur... |
In his book, Hands-on Time Series analysis with R, the author Rami Krispin says 'Typically, once we have trained and tested the model using the training and testing partitions, we will retrain the model with all of the data (or at least the most recent observation in the chronological order)'.
My question is this:
In t... |
I have a question regarding crossed random effects. Thank you for any suggestions in advance.
In Chapter 13 ("Imperfect Hierarchies") of SNIJDERS and BOSKER's book, "Multilevel Analysis: An Introduction To Basic And Advanced Multilevel Modeling" (2nd edition), the authors gave an example on crossed random effects. As t... |
I have n machines that use the same utility. Each machine randomly demands a unique f_n flow rate of the utility once every h_n hours on average. Each machine's demand event lasts for about m_n minutes. Is there a formulaic method to determine the probability of different possible total flow rates at any time?
For exam... |
I have 3 datasets of different sizes and trying to select one that is the closest to the benchmark, in a sense of minimized pairwise differences. I checked for normality using QQ plots and Shapiro-Wilk test and the datasets are nto normal. Here is their descriptive summary:
benchmark B R ... |
Given a statistical model $\{\mathbb{P}_\theta\,|\,\theta\in\Theta\}$ on $(\Omega,\mathscr{F})$, and given a real-valued random variable $X$, we say a real-valued random variable $T=T(X)$ is a sufficient statistic if $X_*\mathbb{P}_\theta(dx|T)$ (the conditional distribution of $X$ given $T$) is independent of $\theta$... |
An intermediate step in the derivation of the hard-margin SVM's dual form is as follows:
I also know that $a_i$ for all points not on the margin boundary is 0, which makes sense; they must be zeroed out to prevent them from being subtracted from the $\max$. However, for points on the margin boundary where $y_i(\langle... |
Problem Statement
So I read in Elements of Statistical Learning, p. 54 that another way of doing OLS for multiple predictors is the following way. Let's assume two predictors $X_1, X_2$ and a target variable: $Y$.
Regress: $Y \sim X_1$, that gives you $\beta_1$
then take the residuals from that, $e_1$ and run: $X_2 \... |
This question of calculating AIC was answered for a specific linear model here: Calculating AIC “by hand” in R
The problem and solution for a linear model are as follows:
lm_mtcars <- lm(mpg ~ drat, data = mtcars)
Solution as presented to calculate AIC for that specific linear problem:
nrow(mtcars)*(log(2*pi) + 1 +
... |
I have a high dimensional dataset $\bf{X} \subset \mathbb{R}^d$, which is multimodal and has outliers. I want to estimate a robust measure of association, something like the correlation between two sets of random vectors $\{ \bf{x}_1, \ldots \bf{x}_n \}$ and $\{\bf{y}_1, \ldots \bf{y}_n\}$ in $\bf{X}$. I prefer somethi... |
I'm working on a research project which involves the assessment of NHL goalie performance (save percentage) using empirical Bayes. I found that the goalie distribution for career games played was peculiar. Nearly 50% of goalies play less than 10 games, whereas the others play on average 500 games. I could fit just one ... |
I have a model for a small data set (30 participants) where I would like to specify random intercepts for participants and a random slope for their ages, but don't have enough observations per participant. The DV is strongly left skewed (likely due to an interaction term containing many 0s). However, if I standardize t... |
I'm looking for a comprehensive guideline of how to compare different survival models on one particular data set. My priority is having a model that gives the best possible prediction of time to event.
By different models here, they can be
Models of different types (e.g. CoxPH, parametric PH models, AFT models, random... |
I am conducting survival analysis for an outpatient therapeutic program and building a cox regression model for risk factors. In a normal treatment setting the cure rate should be >85%, <10% Default and <5% death. I am measuring the time-to-event for being cured and censoring defaults, deaths and ongoing cases at the e... |
I found Jeffrey formula as
here hi and ki are bin data of two histograms.
https://www.cs.cmu.edu/~efros/courses/LBMV07/Papers/rubner-jcviu-00.pdf
I want to find Jeffrey divergence.
There is any library implementation for this?
I found an implementation on scipy but that is for probability distribution and I want for f... |
This is quite straightforward:
I have a dataset with 8 features containing cell measurements from a patient. I want to compare two patients to a reference one. To do this I perform UMAP to reduce the 8 features to 2 (also because I cannot perform a feature-wise comparison; I don't think more details are needed here, le... |
I have a matrix whose columns are words and rows are different speeches by a person. Therefore, the i,j element of the matrix is the count of occurence of a word in a speech. I would like to estimate a network out of this, to see the association of words. I wanted to use the graphical lasso to estimate the precision ma... |
I have a dataset of object sizes obtained from aerial photographs.
Different photographs, taken at different altitudes, give access to different information. When close to the ground, the area captured is smaller, hence a higher resolution and small objects can be identified. When further from the ground, the area is l... |
I am conducting a linear regression analysis for categorical variables using dummy coding in SPSS. I am then cross-checking the results in R. However, I have encountered a discrepancy where one of the dummy coding results is inconsistent with R, showing completely different outputs although the other dummy variables ar... |
I have a categorical DV (right or wrong response to an item = binary) and two categorical IVs, one between-subject IV (condition) with two levels and a within-subject IV (trial) with multiple levels (e.g. 3 tials of 10 items each). We expect some training effects over time that differ between conditions and use a glmm ... |
I would like to consider municipal levy rates for taxes as well as percentage utilization factors, which can range from 15-40 percent, as part of a regression. The minimum of the tax rates is 200 percent. Considered as simple values this leads to negative intercept, so I think transformations are appropriate. What tran... |
So the motivation for using the squared loss in linear regression can be written as the following (I think):
Assume $\{(\mathbf{x}_i, y_i) \mid i = 1, \dots n\}$ are repeated independent samples from random variables $\mathbf{X}$ and $Y$ respectively. With $Y \mid \mathbf{X} \sim N(f(\mathbf{x};\mathbf{w}), \sigma^2)$.... |
In transformer models, positional embeddings are commonly used to encode the positional information of words in a sequence. While sinusoidal positional embeddings are often employed, I'm curious about an alternative approach. Can we simply concatenate a single integer to the word embeddings to represent positional info... |
If the goal is to sample from a distribution $\pi$ it is common to build a Markov Chain with stationary distribution $\pi$. Solving this problem using Markov Chain Monte Carlo is essentially simulating the Markov chain, and taking the values it achieves as (an approximation of) samples from $\pi$.
Consider the overdamp... |
I have a set of scores with a maximum range from -12 to +12 for a set of categories of a variable. There are two populations that each have a set of scores for the same categories of the same variable. The sets of scores look something like this:
Category
Population One
Population Two
Red
+7
-3
Orange
+1
-2
... |
I'm conducting a hyphotesis test to compare the mean of two independent samples.
To do so, I need to check normality of both samples.
I have two samples of size 20.
A single data point, on both samples, are making the test statistics to reject the null hyphotesis of normality.
For the sake of simplicity, I'll bring sta... |
Similar to ths question I would like to know how to create a calibration curve without binning my predictions.
What makes my situation different, is that I'm using icenReg for my interval-censored outcome (proportional hazards weibull model for interval censoring). I don't mind using predictions at the right-end of the... |
I'm conducting a simulation study where I repeatedly sample heights from a normal distribution with a mean of 175 cm and standard deviation of 6 cm. I then calculate a one-sample t-test p-value for each sample against a null hypothesis mean of -175 cm. My sample sizes are quite large (200 observations per sample).
Theo... |
I have data such as the below:
Area
Admissions
Population
Crude rate per 100,000
Cambridge
137,204
1,077,382
12,735
London
111,896
1,013,985
11,035
I have been asked to 'adjust the crude rate for prevalence' in these areas. I am only familiar with direct and indirect age standardisation. The prevalence va... |
I have some elementary queries about the relationship between exchangeability and conditional distributions.
For theorem 11.6.4 in the Doctrine of Chances, Ethier S. (2010) it is proved that $\{Z_n\}_{n=0, \dots, N-m}$ is a (Doob) martingale with respect to $\{X_n\}_{n=1, \dots N-m}$, where:
$Y_n = f(X_{n+1}, \dots, X_... |
When planning forecasting strategies for an organization with high hierarchy (at geography, market product level), can I conclude that:
For the medium (~3 months-2 years) and long horizon (~2 years and up) forecasts macroeconomic indicators are crucial to achieve better forecasts.
But, at the item-level forecasts for ... |
I am struggling to figure out the correct way to calculate the F-statistic of a regression model that uses complex survey data in R. I am using svyglm from the R survey package.
Would the below code correctly calculate the F-statistic for a svyglm object?
library(survey)
data(api)
dstrat<-svydesign(id=~1,strata=~styp... |
I have some trouble translating between Stata and R (psych, lavaan) about factors and components with an interest in the loadings/eigenvectors of the items. I seek to validate results (understand the results I am getting, and getting similar results) and ultimately choose the correct method in the software. The termino... |
I'm trying to figure out the best approach for anomaly detection in a particular context. I have data where each observation is a member of a group. I know the groups in the data. Each group has a varying number of observations, some groups with lots of observations and some groups with only a small number of observati... |
I'm trying to follow a paper. There is an early equation in it and I'm not quite sure where it comes from.
There is a noise time series $n(t)$. The paper then says:
We assume that the noise is stationary and Gaussian. Under these assumptions, the noise is fully characterised via the one-sided noise power spectral dens... |
I wanted to test following hypothesys: "We suppose that math professors use new technology to make learning easier". I made survey with following questions
I use computer programs such as Geogebra, desmos etc. every lesson.
I use interactive tables, 3d printers. etc.
Possible answers are:
I completely agree, I mostly... |
I'm curious what the broader statistics community thinks of synthetic control in the context of experimentation. In my work, we often have a low sample size (50-100 total randomization units.) And no matter how we randomize, we often end up in a situation where prior to experiment treatment exposure, there is an imbal... |
Edit: This question has been closed for being unrelated although I see similar questions posted here with the same objective, yet not with enough detailed answers or not exactly what I am looking for (e.g. this link, or this link). I do not intend that you check my algebra for mistakes. I am simply just showing my work... |
I am working on a financial analysis project where I have a dataset with daily observations for all variables from 2000 to 2023. The dataset includes an exogenous variable 'Y' and four financial variables 'A', 'B', 'C', 'D'.
My goal is to analyze the effect that past values of 'Y' have on each of the financial variable... |
I'm trying to fit a multinomial logreg with statsmodel.
import statsmodel as sm
X = sm.add_constant(df)
logreg_model = sm.MNLogit(y[:n], X).fit()
Where df is a one row dataframe (just because I'm trying each variable isolately to find out which of them is causing the problem) with the following values:
debt
0 ... |
Let's say I have an API, and customers are calling my API. I want to model this as a Binomial distribution because either the call can fail or succeed.
To use a binomial distribution, the API calls need to be independent events. I assume these are not independent events because if the server goes down, then all API cal... |
I am using logistic regression as a classifier to predict the variable Group (old/young) from a variable called Sentence_length. When I plot density functions of Sentence_length by Group, it is clear that that two groups are totally non-separable using Sentence_length:
And indeed, the coefficient of Sentence_length in... |
What is a procedure for selecting a type of logistic regression model (e.g., multinomial, one versus rest) for predicting the class of a pixel given its red, green, and blue intensities as in https://www.kaggle.com/datasets/billbasener/pixel-values-from-images-over-haiti?datasetId=1899167 ? A class of a pixel may be an... |
I am trying to determine if a Wilcoxon signed rank test is appropriate for my data. The experiment tested how pairs of participants interacted with 2 versions of the same software. The software was collaborative in nature, hence why each pair of participants tested each version together. Each participant's behavior was... |
Consider a linear model in which a vector of data $\mathbf{d} \in \mathbb{R}^M$ is related to an unknown parameter of interest $\mathbf{x} \in \mathbb{R}^N$ via $$\mathbf{d} = \mathbf{A}\mathbf{x} + \mathbf{n},$$
where $\mathbf{A} \in \mathbb{R}^{M\times N}$ is a known matrix with rank $N$ and $\mathbf{n} \in \mathbb{R... |
I am running a set of mixed models and comparing them by AIC to select the best models but I am having singularity problems in some of them. It is clear to me from here and here among other references that singularity problems indicate that the random effects structure is too complex to be supported by the data. But, f... |
We recently installed a new incentive program for my company's top salespeople that would give them higher and higher revenue percentage cuts from sales. I'm trying to answer how much more incremental sales are due to only the new incentives program. We have given these incentives to only our highest salespeople, so th... |
Background information
Using different machine learning models, I predicted three different behavioural categories in cats (active, inactive, maintenance). I then created a dataframe that contained the counts and proportion of each behavioural category per day (6 days per cat; 12 cats total).
Data
I have a dataframe (d... |
I'm reading the Chapter 7 of Statistical Rethinking (2nd), where the author delves into information theory and model selection.
I think I've grasped the concept of what would be the KL Divergence, and the need of knowing the target probability distribution for its calculus. The author then goes into how we don't necess... |
As the subject suggests, after selecting regressors from lasso regression, is it a good practice to re-run the an ordinary linearly regression with selected variables?
I just feel like intuitively, this would give a more accurate prediction out of sample. Assuming we addressed the redundant variable problems from lasso... |
My question is similar to (and an extension of) this one.
I select two values ($i$ and $j$) at random from a standard normal distribution. What is the expected value of $|x_i^n-x_j^n|$ for all integer powers of $n$? The vertical bars represent absolute value symbols, so I know the answer will be a positive number for a... |
I'm building a model in R to predict the total number of rushing touchdowns, passing touchdowns, defensive touchdowns, extra points, and field goals in an NFL game given several features. Basically instead of trying to predict the actual score, I want to gather the components that make up the final score (vegas odds, r... |
I am confused about interpreting the confidence and prediction intervals regarding the model's accuracy or assessing the fitted model's goodness of fit—for example, the attached graph. I see that the prediction interval covers almost all the data points. For me, I think that the fitted model is great as the prediction ... |
The more I read, the more I am confused as to how to interpret the validation and training loss graphs, so therefore I would like to ask for some guidance on how to interpret these values here in the picture. I am training a basic UNet architecture. I am now wondering if I need a more complex network model, or that I j... |
In my data, I have $N$ users, and for each we measure at $t_i, i\in[1,..,N]$ different times whether it belongs to one of k categories (let's say A, B, and C). The data columns looks like this:
user_id frac_in_A frac_in_B frac_in_C total_measurements several_categorical_and_cardinal_predictors
The aim is to ... |
I am very new to this data analytics field, so bit confused about what to do.
I have 2 time series datasets of two different products that have the same attributes. I want to find trend similarity between both the time series. Which one will be best to use, correlation, covariance, mutual information or Euclidean dista... |
I'm trying to assess normality in a two-way ANOVA. I have a 3 x 2 design. I have split the file by cells and used SPSS to create a new variable of the residuals. I have calculated the normality of the residuals in each cell using the Shapiro-Wilk. I have significant violations of normality. When I ran the normality tes... |
I was trying to evaluate different algorithms for PCA like eigenvalue decomposition, SVD, Lanczos Algorithm, Power iteration.
I also want to do some other analysis
I could find any papers concerning this.
What would be the best method to generate synthetic for PCA.
Basically generate data with "principal components" an... |
Problem: I need to figure out how many times are women more likely to continue attending a class after a certain period of time.
Data:
Solution: I used odds ratio (see picture).
Is it correct to assume that women are 2.8 times more likely to continue with the class compare to men?
Cohort 1: 0.59 / 0.34 = 1.7
Cohort 2:... |
I have data like this:
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
x
0.03
-0.07
-0.62
0.26
0.47
0.01
0.54
0.41
-0.38
0.50
-0.84
-0.30
nx
0.23
0.45
1.12
0.45
0.53
0.95
0.56
-0.79
-1.68
-0.12
-0.68
-1
This is the result of the decompose(tes$seasonal) in R. Its a table of time series that I filtered by ... |
I have been working an a pipeline to analyze product parameters of a manufacturing process (e.g. different diameters, heights and color data) for quite a while now and it seems like I have hit a wall.
In the beginning I worked through a few time series analysis books and implemented the usual methods. I first tested fo... |
Recently, I have been reading the 《Elements of Statistical Learning》book . Now,I have three question in chapter 2 formula(2.10).
(1)What does $pr(dx,dy)$ in Formula 2.10 mean?
(2)how to derivate this (2.10)formula?
(3)Can $pr(dx,dy)$ be written as $pr(x,y)dxdy$?
The ESL book (2.10):
$EPE(f)=\int[y-f(x)]^2Pr(dx,dy)$
can... |
I am running ARDL model. For the model specification I have the following Trend Specification options: 1) None, 2) Restricted constant, 3) Constant, 4) Restricted Trend and 5) Constant & Trend. How should I pick one from the list? Is there any strategy and approach to do so?
|
I have been looking at a code base that can calculate evaluation metrics. It implements bootstrap resampling to calculate confidence intervals, and also uses stratified approximate randomization for comparing two systems statistically.
The main components are given below in ~ pseudo code, where bl indicates system 1 (t... |
my prof told me to use rand index between two clustering on my assignment, and after using python sckitlearn library i got the score 0.53
is it good score? i can't find any reference about it like i found Silhouette Coefficient
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.