instruction
stringlengths
9
38.7k
I would appreciative any help for an analysis of linguistic data as described below. Someone collected linguistic data from 35 children between 4 to 6 years old. Each child was given various words to say (not the same number for each child) and for each word, six linguistic deviations were recorded as 0 (not happen) or...
When I run this structural equation modeling in amos program, I get the following error message. How do I fix it? The error message: "The model is probably unidentified. In order to achieve identifiability, it will probably be necessary to impose 4 additional constraints." I wonder what I should fix in this picture an...
I would like clarification on the correct way to set up the first-stage regression(s) for a hypothetical 2SLS regression. Say we have the following formula: \begin{align} y = x_1 + x_2 + x_1 \times x_2 + \text{controls} + \epsilon \end{align} Where $x_1$ is numeric and assumed endogenous, $x_2$ is categorical a...
How to interpret this fitted vs data(actual) plot? My data is time series and there are many observations for the y variable for one year. How to analyse it if my data is a time series? This is a multiple linear regression model. I am confused on how to analyse it. So, this is my time series linear model. My objecti...
I have the following situation. I have N_S subjects, each subject i has N_i electrodes. I am measuring the Power Spectrum Density (PSD) in 4 different conditions (A, B, C, D), with about 100 trials in each condition. I want to find the frequencies and conditions at which the PSD is significantly different than in condi...
let's say that I have this model below: lm(academic_peformance ~ biological_sex(binary) + age + history_score + math_score+ history_score:math_score) I want to test simple slope analysis to probe interaction (math:history) but due to the biological sex being binary, I was wondering what should I do to run the significa...
I am taught that the hard-margin SVM is defined as the optimization problem: $\min_{w, b} \frac{1}{2}||w||^2_2, \text{ s.t. } y_i(\langle x_i, w \rangle + b) \ge 1$ Furthermore, the two planes $\langle x, w \rangle + b = \pm 1$ are the "gutters" on the margin where the closest points will lie. I am wondering if it is p...
I am getting confused about the concept of independent samples, which is related to the concept of pseudoreplications. This question is related to this topic. But reading it does not make it clear for me. Suppose we are interested in the population of Germans (of a specific age, to be more specific). The response varia...
I want to perform a split-plot ANCOVA in R. I try to test, whether the assignment to one group (of two; between-subject factor) has an effect on a performance task (measured 5 times during the experiment; within-subject factor). Additionally, I want to control for baseline differences and therefore use the first time o...
I have a set of data as this: ID V1 V2 V3 A 12 10 8 A 11 9 10 B 7 10 8 C 13 10 9 C 10 12 6 This dataset is from health data, where each individual takes one or more measurements (sometimes the same days, sometimes across the years), then I thought I could take into account that each individual has a weight ...
I am testing a script in R to work with the PISA data for Spain. I calculate the average maths score as the weighted average with the weights (w_fstuwt) of each of the 5 plausible values and then taking the average of those 5 values. Comparing with the official PISA results (https://pisadataexplorer.oecd.org/ide/idepis...
You are presented with a bag of 4 orbs. You know that 2 are blue and 2 are red. You start drawing them without replacement from the bag one-by-one. Before each draw, you are given the opportunity to guess the color of the orb that is about to be drawn. If you get it correct, you earn $1. Under an optimal strategy, what...
Say I am measuring a continuous signal and have a time series $f(t)$ with a known expression (for example, a Gaussian wave packet) between some $t_1,t_2$ , is there a way to compute the histogram function $H(f)$ (or $P(f))$ without using manual computation like the "hist" function? Or at least predict its asymptotic be...
I am trying to confirm the what the $A^{-1}$ actually is in a triangular factorisation of the variance-covariance of a MA(1) process. And what I have found doesn't seem to match what is on Hamilton p.129 (Time Series Analysis (Hamilton, 1994)). Does anyone know which is correct? On Hamilton p.129, the variance-covarian...
I have a dataset about the whole population of interest, not just a sample of it. I ran a mixed effect model where age and sex are fixed effects; urban area where individuals live and country of origin are random effects; vaccination status is the outcome variable. I intend to explore the association between the indepe...
I'm working on a dataset that contains both continuous and dichotomous numerical features, the latter having values in the set $\{0, 1\}$. My objective is to apply feature selection to my dataset to improve the performance of my predictive models. My approach for feature selection is correlation-based, inspired by the ...
I would like to know if I want to use GMM if the data has to follow a Gaussian distribution even if I preprocess the data and normalize it. Is it enough to normalize the data or has it have to pass some type of test? Regards and thank you in advance
What does it imply if, in the case of a neural network, validation accuracy is better than training accuracy? Does this mean that the data set has issues or training has issues? Can you elaborate?
I have an unknown function $f(x)$, defined on a domain, that is modeling a perception function based on a human user response. I estimate it with a GP with mean $\mu$ and kernel $K$. I determine the hyperparameters of those functions with the minimization of the negative loglikelihood, performed on a starting training ...
I am trying to adjust my covariates in a model. My dependent variable is count data variance is greater than mean which means I have to apply negative binomial regression, main independent variable (bullying) is binary (0/1), and I have few covariates such as age, gender, family status and so on which I want to adjust ...
I want to test the survival of multiple populations with 2 different treatments and include 2 random effects as well. Hence, I want to perform a mixed effects Cox model. I count how many ants died within a colony once a week for a period of 5 weeks. During my last mortality count, I also count the number of remaining l...
So, I am checking the assumptions for my time series data. I also did this test and it seems to reject the null hypotheses. Then, to check the equal variances, I made a box plot. So, I found that for age variable, all the groups have non-similar variances. So, how am I supposed to conclude the equal variances of t...
I have searched extensively and I fail to find an answer. If you are not confident, please don't answer or modify the question, since it will confuse readers even more. Agree on some definitions Let $X_1, ..., X_n$ be a random sample of size $n$ from a population A statistic is a function of $X_1, ..., X_n$ Any statis...
I am currently at a total loss, so I hope someone can point me in the right direction regarding my model selection. The situation I want to create a linear model that best forecasts my data. I am trying to figure out how many parameters I should enter into the model. I have tried Lasso regression for this, as it should...
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...