instruction
stringlengths
9
38.7k
Josh Starmer says it in here. I have been searching for a simple way to understand likelihood and it's Bayesian and Frequentist use. Josh's way seems simple to me. Is he correct?
I'm using emmeans to extract trends from an interaction of two factors, one categorical (temp) and one continuous (response). library(ordinal) library(emmeans) wine2 <- wine wine2$rating[wine2$rating==5] <- 1 wine2$rating <- ordered(wine2$rating) fm <- clm(rating ~ response*temp, data=wine2) emtrends(fm, ~temp, var=...
I aim to explore agricultural productivity over time using repeated cross-sections. If I assume a functional form and estimate TFP for each farm in the sample how would I examine the drivers of TFP over time? Would it work to look at the average partial effects of farm characteristics on TFP for each year and assess th...
I have a black-box function $f$ that may only return 0 and 1 for a given input. The function may be deterministic or stochastic for different inputs. Assume I have input $x_0$ How many times do I need to sample $f(x_0)$ to conclude that the function is deterministic with at least a probability $p_d$? The problem is eas...
Suppose I have two different models, with comparable goodness of fit but very different structure, that I have fit to the same time series. For both, the residuals pass various tests of normality. How would I test whether the simultaneous residual vector observations are independent of each other? The correlation betwe...
Let $$f_{kk}^{(n)}:=\Pr(X_n=k,X_v\ne k,1\le v\le n-1\mid X_0=k),~n\in \mathbb Z^+ .$$ Attributing to the comments of @Zhanxiong , I have added the other two cases to the Case 1. Case 1. Is there a discrete time-homogeneous Markov chain $(X_n)_{n \geq 0}$ in which one transient state $i$ satisfies $ \sum_{n=1}^{\infty...
I have some environmental monitoring data that I've collected over 4 different years. I'd like to analyses the trend in the condition over this time period. 2010 2013 2017 2022 Very good 37 34 8 29 Good 42 43 16 7 Fair 41 44 22 1 Poor 60 26 21 1 Each plot was assessed in each assessment year (repeat...
"In regression analysis, when you use the first independent variable to indicate two groups (with values 0 and 1), the test statistic for the slope in regression is the same as the test statistic used in a two-sample t-test." I intuitively understand what the concept is, but it is difficult to prove it mathematically, ...
Let $X \sim f_X$ and assume that for each $N \in \mathbb{N}$ we have datasets of $N$ iid samples $D_N = \{ X_i | 1 \leq i \leq N \}$. Also assume that there is some bounded deterministic function $g(X) \in \mathbb{R}$. I'm wondering what could be said about the limit: $\lim_{N \rightarrow \infty} \left( \sum_{i=1}^{N}...
For a project, I have to produce an ARIMA forecast of Boeing's stock returns over the last 10 years. I've tried to check stationarity of data with ACF first and found out that lag 1 is statistically significant. After observing the graphical representation of my time-serie, I found out the origin of this discrepancy. ...
Theoretical question here: is it possible (and justifiable) to do propensity score matching when all control units come from a different time period? For example, imagine there is a programme for 18 year olds that is introduced at time period T. Some individuals are treated and some aren't. You could do PSM to match wi...
Suppose we create a dummy variable male (1=male, 0=female) and dummy variable female (1=female, 0=male). Does the dummy variable trap, also occur, if we include them into interaction terms: $Y_i = β_0 + β_1 male_i * interaction_i + β_2 female_i * interaction_i + u_i$ My intuition is that we have a dummy variable trap. ...
I'm used to specifying mixed models with mathematical notation or in R using the lme4 syntax. Now, I was asked to review a mixed model fitted in SAS. The SAS model is specified as follows PROC MIXED; CLASS animalID treatment week time_of_day; MODEL y = treatment week treatment*time_of_day REPEATED time_of_day*wee...
Let $X$ and $U$ be two independent random variables, and let $Z= X+U$. Under which conditions is $Var(X|Z)$ constant? I know this holds for instance when $X$ and $Z$ are jointly normal. I'm interested if there is a more general result regarding this.
I have a data frame that contains multiple dependent variables and multiple entries per subject. I don't have any regressors in my model, I am just interested in the global intercept. For each of my variables, I fit a random-intercepts model which allows me to account for within-subject and between-subject variance, Af...
I have a data output from SPSS, where DV is work performance, and two continuous predictors. One predictor is IQ and one predictor is work experience (years). I have centered the predictors AND created and interaction term. But, I cannot find any videos or information about how to interpret the significant effect. Anyo...
lately I lost access to SPSS and instead of using Python or R, I tend to perform analysis using a free software called Jamovi. The thing is, this software doesn't have the different non-linear regression models I liked to use in SPSS, so I tend to make only linear-regression models. Because of this I became used to per...
I'm doing a linear mixed model. I have six repeated measures of subjects which correspond to different time's instants of some dependent variables. Using the lme function of the nlme package in R, I've fitted two linear mixed models with one fixed effect, one using the time variable as a random effect, and another usin...
I have encountered several instruments in psychology and related fields where we have multiple versions of the same instrument, specifically a short form and a long form. For instance, the patient health questionnaire has a 8 item version and a 9 item version. As another example, the perceived stress scale has a 4 item...
Let me preface that I'm not sure if this is even possible and I'm unsure of what math principals would apply but I'm trying to build an algorithm for a sports betting project that can find the probability of a number given the following assumptions: A QB has a 53% chance of going over 282.5 passing yards (I'm getting ...
I'm studying "Principles of system identification : Theory and Pratice" by Arun K. Tangirala and well... I've just entered the part about moving averages and I'm confused. I don't understand some assumptions around white noise, stationary processes and autoregressive models. I'll illustrate my problems on the following...
I am wondering about the difference between ZIP and ZIP2 distributions in the gamlss package. I read, in the gamlss documentation, that The ZIP2 is a different parameterization of the ZIP distribution. In the ZIP2 the mu is the mean of the distribution. I found in the documentation that for ZIP, sigma is the probabil...
This question has been discussed before but the proposed solution (https://stats.stackexchange.com/a/459820/170801) is no longer reproducible for some reason. As a refresher - it has been suggested that turning off the autotransform and halfchange options in veganMDS() will allow you to produce identical results whethe...
I have survival data for a cohort of patients and the outcome is either cardiovascular or non-CV death. I wish to assess whether some variables make it so that the patient is more likely do die from one cause or the other. This question is much like my own (Comparing Hazard Rate Ratios for different outcomes on the sam...
I'm working on a situation (with computations made by someone not involved anymore), where we have a linear regression and a confidence interval (of shape given in Shape of confidence interval for predicted values in linear regression) $$y_0 = a + b x_0 \pm t_{1-\alpha/2; n-2} \ S \ \sqrt{\frac{1}{n} + \frac{(x_0 - \...
I would like to study which factors are associated with an outcome which has more than two categories. After considering multinomial logistic regression model (which I find is very challenging to interpret the effect measure "RRR"), I decided to use pairwise binary logistic regression models (weighted), using survey pa...
Suppose $A$ is an $n$-sphere of unit radius and $B$ is a set of $x\in\mathbb{R}^{n+1}$ satisfying $\langle a, x\rangle=b$, how do I sample from $A\cap B$? There's R code for $n=2$ given here but I'm interested in the approach for general $n$. There are a few heuristic methods implemented here, but unclear how if they r...
I have a pilot experiment that gives 2 stories (A and B) to the participants and they answer the same survey questions after each story. Importantly, each story can be competent (COMP) or incompetent (IN-COMP), and the competency level of one story can be different from the other. Basically, it is a 2x2 design (compete...
In the R package recommenderlab's predict function for binary data (specifically unary for market basket analysis), why does the code do the following for the weighted UBCF model? ratings <- t(sapply(1:nrow(newdata), FUN = function(i) { r_neighbors <- as(model$data[neighbors[[i...
I have two questions: How do I interpret and report the variances of my mixed effect model in lmer? Is this mixed model appropriate for my study? Set up: In my study I'm rearing fish in two different environments (one with increased water flow and one without) to see if there is a reduction in among family variance i...
I'm conducting a study on diurnal preferences across the lifespan, with a focus on sex-specific trajectories. Before conducting sex-specific segmented regressions, I perform an initial segmented regression with the entire sample to identify breakpoints (BPs) that guide the subsequent analyses by sex. In order to obtain...
I m running a mixed model for 2 treatments and I run these 2 scripts which gave me different results mixedmRV19R<-lme(RH ~ Flax*Row, random = ~ 1 | Month/Day/Hour, data = RV19, na.action=na.exclude) versus mixedmRV19RR<-lme(RH ~ Flax*Row, random = ~ Month|Day|Hour, data = RV19, na.action=na.exclude) Can somebody hel...
I have a general question related to the steps I'm taking with segmented regression in R. I'm relatively new to both R and segmented regression, so please forgive me if this question seems rather basic. My study focuses on diurnal preferences across the lifespan and aims to investigate sex-specific trajectories. I have...
Suppose we have the following DGP: $ y = 10 x_1 + 20 x_2 + 30 x_1 x_2 $ Suppose we sample from the population, and we estimate the following models: $ y = \alpha_1 x_1 + \beta_1 x_2 $ $ y = \alpha_2 x_1 + \beta_2 x_2 + \gamma_2 x_1 x_2$ We choose OLS as our estimator, obtaining the estimates $\hat{\alpha}_1, \hat{\beta...
What process to use to determine whether the nth percentile of a normal distribution is closer to the k,k-1,or k+1 standard deviations above or below the mean?
I was trying to think of a way to show how "normal" a set of dice rolls are in a game like catan. In Catan, each turn you roll 2d6 and the sum of those 2d6 dictate game outcomes. A game can last anywhere from 20 - 50+ turns. For examples sake, let's say we roll 36 times in a game. For a perfectly "normal" game the dice...
I was struggling a bit with understanding what exactly the intercept factor and slope factor is in a model. I need to estimate these in an a priori power analysis I am trying to do. My understanding is that a "high" intercept would be 1, with the slope being the rate of change (either positive or negative). I noticed y...
I'd be most grateful for some advice about suitable statistical testing for a research project. It's a survey questionnaire to restorative specialty trainees and alumni trainees exploring the application of a HR management model to specialty training in a University teaching hospital. Essentially the model brings toget...
I was reading the tutorial for twangContinuous here. I loaded their dataset dat and found that there are two treatment groups A and B and there are different levels of tss_0 which is their continuous exposure and represents a count of trauma symptoms. Both treatment groups include 0<=tss_0<=13. 0 0.1 0.2 0.88 ...
I have this dataframe: group1<- matrix(c(rep(1,5),rep(2,5),rep(3,5),rep(4,5)), ncol=4) group2<- matrix(c(rep(4,5),rep(3,5),rep(2,5),rep(1,5)), ncol=4) I would like to compare these two groups with data of the preference ranking questionnaires. To my knowledge, the comparison of these two groups could be conducting th...
The starting point is full rank 1-dimension interpolation (using a spline or radial basis) where matching all data points. Want now to introduce some regularisation to smooth the fit to the data. A decision to make is how large the regularisation input should be. What is a good automatic way to determine the quantity o...
I'm working on a regression problem and am struggling to figure out how to deal with the conditional heteroskedasticity present in the error terms. I will try and work through what I have done so far, but the end question is : How do I produce valid confidence intervals from a dynamic linear regression where the model ...
I am looking at covering circles for cartesian coordinates given by independent bivariate random variables $X, Y \sim N(0, \sigma)$. The radius of a circle that will cover proportion p of these samples is given by the Rayleigh distribution quantile function: $R(p, \sigma) = \sigma \sqrt{-2 \ln(1-p)}$. Interestingly, if...
There are many methods to convert Standarized Mean Differences to Odds Ratios for meta-analysis (ln(OR) = -1.8 SMD), but none that i have found really deals with skewed summary data. Do you think i should log-transformed the summary statistics first? Should I compare this OR with OR of binary data? by summary statisti...
I gathered my data into a panel and ran some basic regressions. Most importantly, there is a big difference between the fixed and random effects models. I used the Hausman test, got a very low p-value, and noted that one model was inconsistent. But which one is it? I like the one with random effects more as the coeffic...
In simple linear regression, does the variable x represent the stochastic component, while the coefficient b represents the determination?
In traditional rating systems (such as Elo), a player's strength is represented by a single scalar value, which is assumed to be consistent across different opponents. However, in some games, the interaction between players can introduce complexities that aren't captured by a single number. This leads to potential scen...
Assume we have a datasheet X, this datasheet contains many of samples with different gorup like G1, G2, G3 and could be classify as type A and type B. A common classification method is to use a widely accepted function ES(x) to calculate the enrichment score (E-score) for all samples in X across all groups. The E-score...
Calculation of $EX$ using the binomial expansion formula is easy: \begin{align} EX &= \sum_{x=0}^{n}x\frac{n!}{(n-x)!x!}p^{x}(1-p)^{n-x}\\& = np \sum_{x=1}^{n}\frac{(n-1)!}{(n-x)!(x-1)!}p^{x-1}(1-p)^{n-x}\\& = np(p+(1-p))^{n-1}\\& = np \end{align} How do I calculate $EX^2$ using the binomial expansion formula?
I posted this question before and am still confused: If you take a person and ask him to hold his breath and measure how long he can hold his breath. Then you make him do this 2 more times (3 times in total). 3 measurements is probably too small to calculate the mean and variance for how long he can hold his breath (ex...
You are testing the effect of a compound (X) on mammalian cell size. You have chosen HeLa cell lines to do your experiments. The experiment included growing HeLa cells in their standard culture medium (control group) and standard culture + X (Treatment group). Following is the data on average cell diameter (in um) in r...
I am working with a dataset where I aim to test the hypothesis that a specific group behaves differently than expected across different conditions. I am assuming that if this group behaves differently, this behavior is consistent across all conditions. For each condition, I have a separate sample. For instance, the the...
I am attempting to integrate this function, ∫15x^(0.28) * e^(-0.21x) dx and am struggling with what techniques to apply. The lower boundary is 0 and the upper boundary is infinity. From research, I believe this is an example of an incomplete gamma function yet I am confused as how to solve this step by step. The image ...
The regression equation goes like: $$\text{Wage }= \text{Age}\cdot \beta_1+ \text{Age}^2 \cdot\beta_2 + e, $$ where $E(\text{wage}\times e)=0.$ Wage is in per hour and age is in years. The question asked me to describe a test to see whether a 40 year old can earn 20$ per hour. I have tried to use a F-test where $\beta_...
This is the regression result and it contains the omnibus tests which is quite significant. Multivariate Meta-Analysis Model (k = 158; method: REML) Variance Components: estim sqrt nlvls fixed factor sigma^2.1 0.1465 0.3828 53 no studyID sigma^2.2 0.1187 0.3446 153...
Suppose we have observations $x_1, x_2, \ldots, x_n$ where $n$ is very large. Now we standardize the observations as $$y_i=\frac{x_i-\bar{x}}{\frac{s}{\sqrt{n}}},$$ where $s=\frac{\sum\limits_{i=1}^n(x_i-\bar{x})^2}{n-1}$. Can we say that for $n$ sufficiently large, $y_{i_s}$ are approximately iid Students $t$ random ...
I have a stratified random sample, and would like to conduct complete-case analysis, assuming Missing Completely At Random. However, I find that there seem to be two ways to define survey design objects, as illustrated below: library(survey) library(tidyr) library(dplyr) data(api) ### Approach 1 ### # a stratified ra...
I am trying to interpret this pretty basic scatter plot but am new to this so I don't want to get it wrong. Is it fair to say that there appears to be a moderate positive relationship between the two variables, though of course the data is clustered around the lower values of the y variable?
Let's say I must taste and rank 4 bottles of wine by price. The true ranking is [X,Y,Z,W]. The ranking I provide after tasting is [X,Y,W,Z], where X,Y,Z,W are different bottles of wine. Which statistical approach, which test could I perform to get the probability that my answer is fully random vs "approaching" the true...
Why does the DAGitty "Testable Dependencies" function only describe independencies, but not spurious correlations? E.g, if I have B->A<-C, DAGitty just tells me that B ⊥ C is the only testable (in)dependency Why shouldn't we expect also B⊥̸C|A (i.e, B and C may have a spurious correlation given A)?
I am a CS student, who is currently working on something related to the Set Covering Problem. To quickly describe it: There is a universe set $U = \{1,2, \dots , n\}$ and a set of subsets of $U$ called $S$, with each subset in $S$ having some cost $c$. The goal is to find a selection of subsets whose Union is equal to ...
How to get Predicted Value from a Ridge regression using closed solution? I know that by applying the we get the vector of coefficients, but do we do next?
Although I dont fully understand why ... apparently in longitudinal regression models, you can have an unequal number of measurements per subject (ex: 3 for subject1, 5 for subject2, etc). I actually posted a question about this where I was told that longitudinal regression can handle unequal number of measurements per...
TLDR: How to quantify the H0/H1 plausibility, when there are multiple statistics available on the matter? What is a good source to learn more about frequentist decision making strategy? Once in a while we hear about flawed studies, wasting a lot of resources on follow-up research e.g. testing a drug that turns out to n...
I'm working on longitudinal data with repeated measures for each subject and hundreds of variables. I would like to use linear mixed model to look at the mean response of each dependent variable at each time point. However, as the number of variables is huge I would like to reduce it to most meaningful variables. Explo...
I ran a model with 2 fixed factors that are categorial: Ind: 10 levels CRENEAU: 4 levels For the parameter nu (I am running a gamlss of family BEZI), I get this summary: Nu link function: logit Nu Coefficients: Estimate (Intercept) 2.180e+00 IndF2 9.259e-01 IndF3 9...
When do you use robust standard errors in a weighted survival analysis? Generally in a weighted analysis or are there other reasons for this? The survival package description of coxph says the default of robust = is TRUE if …there are case weights that are not 0 or 1… and what is the robust SE in that case? Thank you
I am currently working on my very first real life Data Science problem and I am facing a bit of a challenge in formulating the solution. The question is to find out if conducting a campaign has an effect on the sales overall. To do this, we have the data related to customer information, sales invoices, campaigns conduc...
I'm running a logistic regression model in R using glmer() from lme4. I only want to get the random effects estimates, so I have an intercept-only model with just the random effect. The model is of the probability of subjects (which each have one observation, and are within a location, which is the random effect) getti...
Given a distribution function, under what conditions is it possible to represent it as a mixture over Bernoulli random variables? For example, suppose you have a continuous random variable on an interval $[x_L,x_H]$. Pick any point in the interval, $x$, and find the conditional means $m_L(x)=E[X|X<x]$ and $m_H(x)=E[X|X...
I would like to predict the value of some variable $x$ at time $t$ based on the evolution of the state of the system in the time interval $(t-T,t]$. The system can be in any number of states in the interval $(t-T,t]$ and the time spent in each state is variable. Consider the following simple example. A machine can be i...
Suppose we have data from a case-control study where for each case having had some disease or event $Y_{binary}$ a control was included that was free of $Y_{binary}$. Due to this study design we cannot estimate the probabilities of $Y_{binary}$ given some $X$, but we can compute valid odds ratios. As such, one can fit ...
Question from Sheldon Ross's First Course in Probability, Chapter 2: If it is assumed that all $\binom{52}{5}$ poker hands are equally likely, what is the probability of being dealt two pairs? (This occurs when the cards have denominations $a, a, b, b, c,$ where $a$, $b$, and $c$ are all distinct.) 1st approach: Out of...
I have a question with regard to building ARIMA with Exogenous Variables (ARIMAX) models where one of the Exogenous Variables is to be modeled using the Ornstein-Uhlenbeck process. I recently read an academic paper which stated "Oil price is modelled by the mean-reverting Ornstein–Uhlenbeck process and serves as the ex...
My go/nogo task was recorded in 4 blocks, each with a new set of cue images, with the learning and therefore the Q-values being reset at the beginning of each block. I have fitted different versions of a Q-learning-based Rescorla-Wagner model on my behavior dataset, once on the whole dataset irrespective of the blocks,...
I have data concerning, say, ice cream sales and wish to predict future sales and also, to quantify the relationship between temperature and sales. The data has daily seasonality. import numpy as np import pandas as pd import matplotlib.pyplot as plt import pmdarima as pm import statsmodels.api as sm np.random.seed(1)...
Natural Language Processing Figures of speech classification Is it possible to identify the figure of speech in the sentence/s provided as inputs using Natural Language Processing Machine Learning Algorithms? Input dataset: Sentences for all figures of speech classification. I.e. 100 sentences for Oxymoron 100 sentenc...
The ultimate question I'm trying to answer is as follows: Given year-on-year sales change (i.e. 2023 sales minus 2022 sales), split out by a number of variables, how can I calculate the absolute contribution of each variable, so that it sums to the total change? So for example, if total growth is £100k, then customer_t...
I am trying to fit 4 hierarchical GAMs to my dataset and compare them to determine the best-fit model. I have been relying on Pedersen et al 2019 to help me specify these models, but I don't think I fully grasp setting m for each smooth. My dataset has the following variables: year, region, site, and mass. Sites are n...
I have a data set that contains tickets sold up to a certain point in time, and then presold tickets for future events. Just for demonstrative purposes, I'll use the Australian total wine sales data set. import numpy as np import pandas as pd import matplotlib.pyplot as plt import pmdarima as pm data = pm.datasets.loa...
I have collected hundreds of electrophysiological indexes along with several demographic variables on about 400 healthy subjects on which the indices are collected through repeated measures at subsequent time points. I would like to see what are the variation and trends from Time0 to Time5. Basically, I'm trying to lo...
I'm trying to use beta regression on a data set where the response variable is in percentage (i.e. between 0 and 1), so let's say it's the unemployment rate. I'm having trouble wrapping my head around the coefficients of the model summary. If I had predictor A which has a coefficient of -0.5, should I take a similar ap...
I have a sample where a treatment is applied at a given time on all members of the sample - there is no control group, in the traditional sense. However, the sample has two types of members, and my test hypothesis is that the effect of treatment is different on different the types of members. To test this, I estimate: ...
I have two different groups of participants ("g" and "b") answering the same set of questions. Group "g" answered questions in the same order. Group "b" answered questions in a randomized order. The answers are binary Y/N (0/1). This is my dataset: | group | question1 | question2 | question3 | ... | qu...
Let $x_t$ =ϕ$x_{t−1}$+$ε _t$ be the model with errors being white noise. ​ If DGP is $X_t$=$e_t$ which is T(5) distributed. Why no misspecification?
I'm trying to come up with a straightforward subscription churn (survival) model and - in broad strokes - see the most important factors by size. I know this can be a loaded topic. It looks like doing some exploratory analysis using a Cox Survival Regression might be useful. However, conceptually, I'm trying to underst...
Say I want to do a meta-analysis testing different joinery methods reported from independent labs. The problem is that Lab A applied the force at 45 degrees while Lab B applied the force and 180 degrees. Though the relative force required to break the joint is the same (the same joints that were strongest in Lab A were...
Following the tutorial https://www.youtube.com/watch?v=ujIMPpl2Tr0 from Stanford university, if the log-rank test (a popular test of Kaplan-Meier curves) does not contain report a statistically significant result but the Cox proportional hazards model test for the same variable is statistically significant, the curves ...
Let $x_t=\varphi x_{t−1}+\varepsilon_t$ be the model with errors being white noise. If model is correctly specified and $|\varphi|<1$, why is $x_t$ not stationary and ergodic? Why cannot I use Krengel's theorem here? Do I also need to show that $\mathbb{E}(\log|\varepsilon_t|)<\infty$?
I have two datasets. The first dataset includes my variables of interest, as well as a large set of respondent characteristics. My second dataset includes matching respondent characteristics for a set of respondents randomly drawn from my target population. I would like to estimate descriptive statistics around my vari...
I am trying to train a Multi-class classification model where every K minutes I receive a set of features x and use the set to predict an outcome y, the values of the features in x change partially between to subsequent predictions while some of the features remain constant. Therefore, my in my training set I have, for...
I have 2 independent variables with 2 categories each: 'gender' (male, female) and 'relationship status' (married, single), and one DV: 'emotional impact' measured on a 10 point scale ranging from 1 (least) to 10 (most). What test do I use? Would it be ordinal logistic regression?
In this article, the p-value is calculated as 0.32 for observing 55 heads in 100 coin flips. https://netflixtechblog.com/interpreting-a-b-test-results-false-positives-and-statistical-significance-c1522d0db27a "In the example of observing 55 heads in 100 coin flips, we calculated a p-value of 0.32. Because the p-value i...
I am trying to evaluate a novel dimensionality reduction technique. Specifically, we start with a data set with around 1,000 features/covariates per observation. My technique maps this down to 12. Doing this causes a small drop-off in model (regularized logistic regression) performance. My informal hypothesis is that m...
(I am posting this question on behalf of a classmate that is currently unable to access the internet due to their situation back home). Generalized estimating equation (GEE) is said to be used only for Marginal Models (Population Level) but MLE (RMLE) is used for Conditional Models (Individual Level). Why is this true...
I have the following problem. I have X people that, on a weekly basis, will pick assignments out of Y different assignments. Each assignment has a different difficulty score, so at the end of each week each person has a calculated score. Each week, the previous scores are added to the current week's. Once an employee p...
Suppose $X$ is a (whatever bounded or not) continuous random variable ($X$ is not constant) with an arbitrary distribution. Is it possible to construct a distribution s.t. $\text{Corr}(X, \text{sign}(X)\cdot X^2)=0$? If not, approximately what's the minimum (in terms of absolute values) of this correlation? Say, is it ...
I am using suest to compare the results of Non linear regressions, use NLS_min1, clear keep if US==0 nl (LN_Q = {b0} + ln(1+ {A}*A1_min1+ {B}*B_min1)+{b1}*FirmID+{y1}*year_dummy1+{y2}*year_dummy2), variables(LN_Q A_min1 B_min1 FirmID year_dummy1 year_dummy2) est store model1 use NLS_min1, clear keep if US==1 nl (LN_...
I have two questions regarding an ANCOVA analysis in SPSS in a within-subject (i.e., repeated measures) design (e.g., an experiment with 3 measurement timepoints): when checking ANCOVA assumptions, the covariate (e.g., age) needs to be correlated with the outcome variable (e.g., cognition). Do I need to correlate the ...
Suppose I have to create an "index of interest" for the products of an e-commerce. By index of interest I mean a $parameter$ which, based on some variables, tells me which products are the most interesting to my customers. For each product in the e-commerce I have: number of $visualizations$; number of $clicks$ on the...