instruction
stringlengths
9
38.7k
take the time series in the code block below - if I run a KPSS test using statsmodels based on a regression around a constant (i.e. test for regular stationarity), I fail to reject the null at the 5% level (implying that the series is stationary). If I run it based on a regression with a trend line I reject it (implyin...
In my meta-analytic research, I have collected IRFs from papers where two variables x and y are both in log-levels (these variables were entered into some VAR model in this way). In addition, I also have collected IRFs from papers where both variables x and y are in growth rates (in this transformation entered the VAR ...
I am trying to estimate a very simple model in the form: $Y_{it} = a'D_{event} + b'D_{i} + c'D_{t} + e_{it}$ With the outcome $Y$, the individual fixed effects $D_{i}$, calendar year fixed effects $D_{t}$, and a set of event leads $D_{event}$ ($D$ denotes a vector of dummy variables). My data looks like this (in R): df...
So I am carrying out a research project for which I have multiple DV and covariates; A lengthy battery of questionnaires will measure these. I am wondering if, in the control conditions, I also need to give participants the battery of questionnaires or if there is a way around this to spare the participants from extra ...
This is no search for the one answer but for ideas, how to deal with this (my) problem in general. So I need to set up a model (e. g. with ANN or RandomForest) to value real estate properties. Since my dataset (property transactions with attributes like "year of construction", "living area", ... AND "date of transactio...
I’m performing a logistic regression in Jupyter Notebook. My target is 1 if a subject died while under observation and 0 if the subject did not die. Not every subject was observed for the same period of time, so the data contains varying levels of exposure. Each subject’s exposure is greater than 0 but less than 1 year...
Quite a simple or at least short question: Why is $ \frac{P(A \cap B)}{P(B)} $ divided by $ P(B) $ for the conditional probability? $ P(A | B) = \frac{P(A \cap B)}{P(B)} $ Random image to visualize: I actually would like to make use out of the tree display which I can't grasp at all. Why would I divide by $ P(A+) $ wh...
I have a survival data upto 10 years of followup. I now need to run Cox models for different time horizons like 0-2yr, 2yr-4yrs, 4-6yrs and so on. Is there an easy way to do it in SAS or do I need to run separate PROC PHREG for all subjects who have upto 2yr followup? Then run model on subjects who had 2-4yr of foll...
I have data regarding level of damage in tissue samples, using a Likert scale. Our main goal is to understand if there is a difference in the levels between two groups - control and treated. An example of a dataset: df<-data.frame(Class=as.character(sample(1:5,size = 50,replace=T)), Trt=sample(c("Ctrl","...
There was supposed to be a buy-one-get-one (BOGO) promotion for sneakers at 5,000 stores. Unfortunately, a glitch happened, and 100 of the stores did NOT get the memo about the BOGO promotion, so they continued to sell the shoes at the usual prices. The other 4,900 stores did get the memo, and sold more shoes than usua...
I am currently trying to choose which parameters to use in my artificial neural network. Because the end goal is a comparison between the logistic regression and the neural network and I have already used the likelihood ratio test for exluding variables on the same dataset for the logistic regression, I thought the res...
So, for my research paper I have to write an equation for my multiple regression model. My independent variable is STOCK PRICE; my independent variable is before/after (denoted TIME on my equation) which means it is a dummy variable with the values of 0 and 1; I also have two control variables of PROFIT and CAPITALIZAT...
I recently read some literature by Bagnall et al https://arxiv.org/pdf/1602.01711.pdf "The Great Time Series Classification Bake Off". If I understand them correctly, they advise to perform multiple (independent) test-train splits to compare different models and their performance: Split the data into test train data T...
My question is about the mixed effects linear regression analysis (i.e. lme4 or brms libraries in R) using long data format in R. How does brms analyze the data where the dependent variable repeats itself across the rows of a changing independent variable within the same subject? i.e. I would like to see if blood press...
I am doing linear regression and predicting y using constant,x1,x2,x,3,x4,....x10 (11 x variables) and I am getting R^2 of 88.7% and R^2 adjusted of 85.1% I noticed that all x variables including the intercept have very high P values, indicating that they are not significant. Therefore I decide to build a model like be...
I'm interested in collecting the date follow up for patients with cancer of the uterus. it's retrospective chart review. Can the date of last follow up include visits to different specialties or it has to do with the same specialty (to answer the question whether disease recurrence occurred or not)?
I am doing a research about the impact of trade unions on permanent contracts. The dependent variable is trade union presence (0,1), the independent variable is number of permanent contracts celebrated in a year, and there are many control variables such as firm size. But the larger the firm more contracts are celebrat...
I am interested in using SHAP values to perform wrapper-based feature selection. The model has 3 outputs, and I do have SHAP values for each output, using GradientExplainer, but even after a bit of research, I just couldn't find a proper resource for determining the total level of 'contribution' by each feature in the ...
I'm currently running a daily diary study, where participants first complete a baseline survey and then complete the same survey each day for 10 days. My data has a nested structure (days nested within persons), where the measures assessed in the daily surveys are at level 1 (within-person level) and the measures asses...
I ran zero-inflated Poisson in both R and Stata using the same dataset and the same variables and found out the coefficients of the results are different. I found out that Poisson is set as a default distribution and logit is set as a default link in both programs. I am not sure if R and Stata use different optimizatio...
Masked language modelling is the standard way of training a language model such as a transformer. Each input token has some probability (e.g. 15%) of being replaced with a <MASK> token. The model must predict the original input token at these positions. There are various variants of this task, such as sometimes replaci...
I have a somewhat complicated DAG that looks like this: where Y is the outcome variable. To give some context, X and Y could be two diseases with X being the precursor to disease Y. A is age, and B is treatment. Age affects both (1) how likely a person is to take the treatment, (2) how likely a person is to suffer fro...
Let $X_t$ be a stationary GARCH(p, q) process. Given the coefficients for the process, how do I derive the stationary/marginal distribution? What about the distribution after only marginalizing out some of the variables? I'd like to do Bayesian estimation of a GARCH process under the assumption that the first few obser...
A client implemented the promotion on July. If we simply evaluate the action, we could compare with June sales of the client. But if the client is belongs to category Y and we can observe category Y performance on both July and June, the performance evaluation would be more trustful. For example, if the category Y's gr...
Overview I got the following error when I ran a binomial logistic regression with the glm function in R: Warning message: glm.fit: fitted probabilities numerically 0 or 1 occurred Therefore, I am wondering if there is something inherent in the structure of my data that is causing this issue. I have observation data o...
I'll quickly qualify what I mean by "precise": I don't mean "correct" in any way. But, I was messing around running a lot (100s) of regression models, with an outcome that behaves a little bit Poisson-like but not obvious enough to definitely choose it over a linear model. So basically I ran ~500 different combinations...
I'm a beginner in time series forecasting and I'm not sure if I understood correctly the meaning of forecast horizon. I was considering horizons as points in the future for which we would like to predict a value. For example, a horizon of 30 days would, in my approach, means that we want to predict the 30th value of a ...
I was studying some statistics in DataCamp and they assigned me this exercise that I can't solve. I tried speaking with people that know more statistics than me and we can't seem to agree in an answer. The exercise is as follows: Since 1926, the Belmont Stakes is a 1.5 mile-long race of 3-year old thoroughbred horses....
So in this publcition https://www.nature.com/articles/s41586-019-1787-x which invovles a huge dataset of neuronal spiking data they have included neurons in a downstream analysis based on whether or not they pass 6 tests. So the data is time series and basically the test are simple hypothesis tests from the neurons r...
I'm new to Markov Chain Monte Carlo (MCMC). Various sources suggest investigating the joint distributions of all pairs of esimated parameters. Refer to the figure below for an example. alpha and beta[4] are clearly more correlated than other pairs. Sources would suggest reparameterizing alpha and beta[4] in this case b...
Say, I have some data on price of goods sold, quantity and location. g q p l y g1 4 10 l1 11 g2 8 20 l1 11 g3 40 15 l2 12 g4 67 20 l2 12 g5 100 10 l2 13 g6 43 8 l1 10 g7 25 5 l3 10 I'd like to calculate the percentage change in quantity sold q for all goods in e...
While working on an regression problem i came across this issue where as scaling the data in different ways moves us away drastically from the real simulated parameter values. The only way in which i was able to get the model to approach the real simulated values was to leave the data as it is without scaling it. This ...
My question is very similar to the post Confidence interval for x-values given a probability in a logistic regression where ultimately no answer was given. I have also posted a similar version on the mathematica stack exchange, https://mathematica.stackexchange.com/questions/272716/logistic-regression-confidence-interv...
I was wondering if there are any sufficient conditions under which I can remove censored data from the model and work just with failure time? (Without creating bias and ruining my model ofc.) Some independence conditions, etc.
I am working with a time series that indicates the number of times a user logs into an application per minute. I want to find an algorithmic way (in Python) that would detect if there is any pattern in this measurement in the following sense: say a user logs in an extremely high number of times every 5 minutes. How can...
I have data that is truncated on the left and censored on the right. The reason is that this is claims data, which for a claim gives the amount of the claim. The claim appears in the data: Only if it exceeds a reporting threshold $\alpha$ (which is known) ; If the amount exceeds a limit amount $\beta$ (which is known)...
I have seen classification metrics like f1-score, precision and recall being reported both as fractions and percentages. These measures are between 0 and 1 and represent ratios. Can we report them as percentages or do we have to stick to fractions? For example: When we have a precision of 0.5 can we say "The classifie...
In a report I am reading at work, the error matrix is calculated as the inverse of the hessian matrix and used to calculate the error ellipse angle and axes with a not theoretically correct formula. They start from a function of 2 variables: $f=f(x, y)$ (I won't use the real function, for the purpose of the question a ...
I am struggling to find a clear answer somewhere else. So, when we have two percentage values, what are correct ways to compare these and formulate the comparison in a report? A = 75% B = 50% For the absolute difference of A and B (75% - 50% = 25%): "A is 25% higher than B" "A is higher than B by 25%" "A is higher ...
Checking out this file published by the european social survey website https://www.europeansocialsurvey.org/docs/methodology/ESS_weighting_data_1.pdf it states that : • when analysing data for one country alone, only the design weight or the poststratification weight need to be applied. • when comparing data from two o...
I would like to calculate McKelvey & Zavoina pseudo $R^2$ manually for poisson regression. I based my calculations on the formula found here i.e. $$ R^2 =\frac{\sigma^2(\hat y) }{\sigma^2(\hat y)+ \frac{\pi^2}3}$$ Let's consider the following model: set.seed(42) y <- c(1, 2, 3, 2, 1, 4, 5, 6, 7, 1, 2, 3) x <- rnorm(len...
I have a serie of analysis on 5 different specimens, with 2 different modifying parameters and one outcome. Both parameters have an effect on the outcome. My goal is to show that parameter_two has an effect on the outcome (assuming outcome one constant). With the following code, I can show that it does indeed have a si...
I have a dataset comprising observations of ducks performing different behaviours. Specifically, ducks were observed for 1 minute each, and during each 1 minute observation the amount of time that ducks spent performing different behaviours was recorded. For example, ducks may have been recorded as preening for 20 seco...
$X\sim N(\mu_1, \sigma_1^2), Y \sim N(\mu_2, \sigma_2^2)$ are independent, find $E[X|X+Y=s]$ I found the result in this question, but I don't know how to derive it my approach $$ E[X|X+Y=s] = \int x\; \Pr(X=x | X+Y=s) \; dx\\ = \int x\; \Pr(X=x) \Pr(Y=s-x) \; dx\\ = \int x\; {1\over \sqrt{2\pi} \sigma_1} e^{-{1\ov...
I am new to R and I want to find the ED50 with its confidence interval in the drc package in R. I found the best model is lorentz.4 according to AIC. But I get a warning message for the confidence interval, plus during the summary. Warning message: In sqrt(diag(varMat)) : NaNs produced Error in ED.drc(mod.drc, c(10, 50...
I have a dataset where I want to describe (e.g.) for each city the distribution of the building volumes. If I had only one city, I could make a histogram and it would nicely capture that. I have many cities though, which is why I need some indicator(s) that capture the distributions. Of course there are the basic summa...
I have several datasets which exhibits clear seasonality/cyclical patterns w.r.t date of month. The days after the 25th seem to be clearly correlated between months suggesting that in this case customers buy more after their payday. Now i am thinking about ways of modelling this, the typical way of modelling seasonalit...
The p-value from a t-test I have run is unexpectedly large, considering Cohen's d. I calculated the one-sample t-test in RStudio for the following hypothesis: H2: For athletes who have already reached their performance peak, the prevention focus is more frequent than the promotion focus. I used the variable PeakJaNein ...
I’ve got roughly 90k rows of data, where each one represents a customer at my company. One of the columns tells me the channel that brought that customer to my company. I’m looking at the channel mix by quarter (eg, for Q1, x% of customers came from events while y% came from social media). Overall, I’ve got about ten d...
Consider two sets of points (in the pictures below), whose "center of gravity" is same. What measure can differentiate between the two sets? e.g. Image 1 and 2 has both 16 points, whose average comes to the same point for both the sets. I wanted to know what measure can be used to differentiate between the both. How ca...
Below is the function and the output of glm() function in r. My question is why the output of the predictor variables contains one factor level for example MaritalStatusMarried, instead of MaritalStatus only. My predictor variable "MaritalStatus" had two levels,"Single" and "Married"
I hope it makes sense to even ask these questions, but I'm wondering how can I evaluate the "validation" procedures that my data allow me to perform (i.e. cross-validation or bootstrap: nested/double or not, with blocks or not, stratified or not, etc.)? I might initially think that I have a fairly large sample size ($n...
If Z=X+Y and X and Y are independent and X~N($\mu_X$,$\sigma^2_X$) Y~N($\mu_Y$,$\sigma^2_Y$) Can I say that E[Z] = E[X] + E[Y] and Var[Z] = Var[X] + Var[Y] I think this may be an insanely simple "yes" but I figured Id ask.
As stated in the title, how do you manually calculate the variance of the least squares estimator in R? I know that the least estimates have the following formula: $$\hat{\beta}=(X^TX)^{-1} X^T Y, $$ and the variance of the least squares estimator is given by $$Var(\hat{\beta}) = σ^2(X^TX)^{−1}$$
I want to test the hypothesis that an event occurs significantly less often than in 7% of the cases: H0: p = 0.07 H1: p < 0.07 I assume that the true proportion of the occurrence of the event is 3%. I want to calculate the sample size required to achieve 80% statistical power for a binomial test. To do this I have used...
I'm interested in predicting cognitive scores (e.g. a memory test score) using multiple regression. The cognitive scores have been z-score normalized to age, sex, and years of education. Is it appropriate/necessary to include age, sex, and years of education as covariates in the multiple regression model, or can only t...
I need to clarify about feature selection. I am working on Kaggle breast cancer dataset (https://www.kaggle.com/datasets/reihanenamdari/breast-cancer). It is a categorical dataset. There are 15 features including one class level. So, to encode the categorical columns I need some encoding. I used labelencoder and onehot...
I have been reading about repeatability estimation, and ICC and I am a little confused about how the quantity is being reported given its computation. From Stoffel et al 2017, repeatability, $R$, is computed as $R = \frac{V_G}{V_G + V_R}$, where $V_G$ is the among-group variance and $V_G$ is the within-group (residual)...
I was trying out different regression models to fit a time series. Models include a multiple linear regression model, ReLU regression models (with varying numbers of ReLU functions) and sigmoid regression models (with varying numbers of sigmoid functions). For example, the sigmoid regression models can be expressed as ...
I've been trying to understand how to interpret what random performance would be for a model I have on the AUPRC score. By 'random performance' I mean the worst possible performance. Purely unintelligent, meaning the model has learned nothing. With AUPRC for example, random performance leads to a score of 0.5. If you g...
In spectroscopy spectral line emissions are related to each other, with fixed widths and heights that correlate with all lines based on fixed physical conditions. If I detect one spectral line at a 3 sigma detection level I know the likelihood that this line is not real. If I have x number of spectral lines each with a...
Ordinal correlation statistics such as Spearman's $\rho$ or Kendall's $\tau$ allow us to measure the association of two variables while considering only the ranks of the observations. Isotonic regression allows us to fit a free-form non-decreasing function from our regression predictions to the data. When we have more ...
Suppose we wish to test whether there is an identity relationship between some observed values and the predicted values from some model, and allow for non-linear deviations from this hypothesis. This is a test for model calibration, or whether predicted values resemble the observed values. Thus we test $$H_0 : \text{mo...
I have an instrument, that I want to use with IV 2SLS, to predict my endogenous variable. The scatter plot of my instrument against my endogenous variable looks like this. Using Stata's binscatter, I can absorb control variables and fixed effects, and the resulting binscatter plot looks like this. In the X axis, all d...
After breaking the series into 3 parts and then compute mean and variance for each part. I need to understand what is the acceptable difference between the 3 parts to say this series is stationary? This is the output for 2 series: Series1: mean1= 19.079044 mean2= 21.812044 mean3= 18.575845 variance1= 1.437688...
I'm currently running a model to determine if people vary in their daily levels of variable Y, and if daily levels of variable X predict daily levels of variable Y. I collected measurements of both X and Y from the same people on multiple days, and I'm using multilevel modeling/HLM. As a first step, ran a null model, w...
I am comparing the confusion matrix between the formula interface and the non-formula interface using caret's train() for elastic net. I am trying to understand why the two interfaces produces different confusion matrices. I understand that the formula interface will decompose the categorical variables into dummies and...
Let $X_i$ be i.i.d. with $E[X_i]=\mu$, $Var(X_i)=\sigma^2$ and let $S_n=\sum_{i=1}^nX_i$. From the central limit theorem we have for sufficiently large $n$ approximately, $$S_n\sim \mathcal{N}(n\mu,n\sigma^2). $$ I was wondering if we could use the implication also the other way around? For example let $H$ denote the h...
If I wanted to take the expectation value of Z where X and Y are independent say $Z$ $=$ $XY$ - $\mu_x$$Y$ and $\mu_x$ $=$ $E[x]$ also $\mu_y$ $=$ $E[y]$ I'd first write $E[Z]$ = $E$$[$$XY$ - $\mu_x$$Y$$]$ Then I'd split them up $E[Z]$ = $E[XY]$ $-$ $E[$$\mu_x$Y$]$ I think I could treat the $\mu_x$ as a constant but I ...
I have created a neural network that feeds an image into a convolutional neural net, then feeds the flattened output of this network into an artificial neural network. I have a feeling that my backward propagation is not working properly. Mind you, I wrote all of it from scratch in vanilla javascript. The final point o...
I've trained an LSTM model and am measuring RMSE. I know how RMSE is interpreted normally, but I'm a a little confused on how to interpret the RMSE value when I have scaled my features and target values. For example, when I train my model with inputs as they are normally I get an RMSE value of around 50. But, when I sc...
I have several years of time series data with data points (# of cars) taken every 5 minutes (have filled in any missing data points). Wondering the best way to check whether there is a statistical difference between two different years of time series data from this data set, ie 2019 data vs 2020 data (expecting there s...
I am computing Two way fixed effects, absolute agreement, multiple measurements ICC on two different measurements. I have 3 measurements of the same subject from my instrument. The measurements are sometimes not reliable between measurements and I have a normalization procedure that helps with that. This normalization ...
I have a few points in this binomial distribution given. Problem is that we find that out of $n=130$ people, $x=75$ of them play Minecraft. We also find that in a population of $m_1 = 25$ men, $x_1 = 20$ men play Minecraft We also find that in a population of $m_2 = 25$ women, $x_2 = 6$ women play Minecraft I want to f...
EDIT: I am referring to yearly return from trading is the first time series, the second one is an index the SPX I have some yearly measurements M1 : 2021 ->3%; 2020 ->14% ; 2019 ->-15% I could calculate a simple average and determine the mean 1% and then compare how every year the percentage differs by the average. B...
Suppose we are sampling N = 7 queries out of all queries issued to a search engine A. Since some queries are more popular than others, we end up with U = 3 unique queries in our sample. Assume the search engine A always returns the same documents. Hence, all instances of the same unique query gets the same relevance sc...
I have a dataset that uses a 3-stage nested design, and I want to perform an ANOVA. I used lme() from the nlme package in R to fit a linear model, but I found that after doing a shapiro-Wilks test, there was evidence against normality. How can I run a permutation test using aovp()? Or would it be best to do it "by hand...
Let $ V_a $ be a random variable which is truncated at a value $v_c$. Therefore, the updated density function of truncated $V_a$ is given by, $$ f(v_a| V_a\leq v_c) = \frac{g(v_a)}{F(v_c)}$$ where $g(v_a) = f(v_a)$ for all $v_a \leq v_c$ and $g(x) = 0$ everywhere else, and $F(\cdot)$ is the cumulative distribution func...
I have the following variables: Psychological trait data collected at pre- and post-intervention Fitness data (e.g., weight in kg), collected at pre- and post-intervention I am interested in seeing whether psychological trait at baseline (pre-intervention) explains change (e.g., weight loss) in the fitness from pre- ...
Let's say we have two experiment replications R1 and R2, (with some modifications in R2), deployed for intersecting (but not fully the same, let's say >50% but <80%) populations of participants at different time points. We fit a Bayesian regression to R1 data and want to improve our estimates using R2 and fitting regre...
I've time series for different costs (listed quarterly). These costs are of different types (E.g. employee salaries, outsourcing, travel claims, etc.), and each of them have their own range of values. For example, cost A has range of 300k-400k, while cost B has 1-10k. I wonder, if I want to compare costs across differe...
I have data showing the distribution of a given metric across a population. The data is broken up into increments, with values for the 90th 97.5th and 99th percentiles. How can I interpret this data to predict what the 95th percentile would be? Percentile 1 2.5 10 20 30 40 50 60 70 80 90 97.5 99 Value 5.8 7.1 9...
Here are my data points: data = [145, 137, 132, 131, 131, 130, 129, 128, 128, 127, 127, 127, 127, 131, 132, 131, 128, 126, 126, 127, 149, 138, 132, 130, 131, 129, 129, 127, 126, 125, 124, 123, 123, 124, 124, 124, 123, 122, 123, 129, 150, 138, 132, 129, 128, 127, 127, 126, 125, 122, 121, 119, 119, 118, 118, 118, 118, 11...
I have population abundance data for various years (within three different locations): Location X1950 X1951 X1952 X1953 X1954 X1955 Wreck Island NA 5 9 NA 6 8 Heron Island 17 22 29 32 NA 90 Sunshine Coast NA NA 12 NA 60 72 What I would like to do is create a plot where the X axis is year, and on the Y-a...
I want to generate a random normal distribution between 0 and 1 recursively. I can generate them if I know the mean, standard deviation (taking an approximation) and size by using something like np.random.normal(size=600, loc=0.5, scale=0.153). The catch is I have to be careful while giving the standard deviation so th...
I've been recently involved in a discussion surrounding the assignment of individual values to n-tiles. One way of doing it would be to rank all of the data in ascending order, dividing it into $n$ equal segments, and finding the the n-tiles. Everything that comes before the n-th index and after the (n-1)th index is sa...
I have recently been thinking about domain generalization. It is well known that domain generalization aims to learn a model from one or several different but related domains that will generalize well on unseen testing domains. And as for the Random forest model, By Breiman (Random forest, 2001), the generalization bou...
I'm working on a dataset of highly-skewed data that I have transformed using Box-Cox. I have 2 groups (healthy controls and diseased participants) and I need to perform multiple comparisons (to compare the two groups across different frequency bands). Within each comparison, I am using the same lambda for the Box-Cox t...
Let us assume that we have naturally ordered data that we want to classify. Then we can use ordinal regression/classification methods. Yet we can treat those as unordered and use multiclass clasiffication. It seems from first glance like the ordinal case modelling is less studied. Could someone lay down the gains that ...
I have a few independent variables and 5 dependent(target) variables. The target variables are percentiles (10th, 25th, 50th, 75th, 90th) and I want to predict the same in that order. What approach would best suit the problem? Would quantile regression be suitable for the kind of data I have? So far from what I have re...
I ran an experiment in which I calculated the biomass of 2 treatments - say A and B. Each treatment had 4 replicates. I now would like to calculate the 95% confidence intervals of the mean biomass of A the 95% confidence intervals of the mean biomass of B To calculate the confidence intervals, I would like to do it a...
Given a variable y in time (in my case financial returns), I define a series of class labels encoding the sign of y: target=0 if sign(y)<=0, else target=1. I then try to predict the class at each time using a set of features X. I am looking into ways to augment my dataset (data augmentation and testing for overfitting ...
Let's say I have data from one mouse as it performed three six-second tasks x y and z. I coded the time variable in two different ways, either as absolute time relative to the beginning of the experiment (time1) or as relative to each task (time2): df <- data.frame(task=rep(c("x", "y", "z"), each=6), time1=rep(...
This is surely a simple problem, but there are so many probability questions with dice, urns, etc. that I have not been able to find an answer to this specific problem. Say you have a pair of $n$-sided dice, each individually fair, but the pair is correlated $\rho$. What is the probability, given $\rho$, of throwing th...
I would appreciate some advice on the most appropriate way of displaying the behaviour between two variables: # of subscribers in the first month and # activity (combination of actions) I'm not sure what is the best of way doing so. Should I log scale the y axis or x axis? Should I log scale both or none. The benefit o...
I carried out an repeated measures ANOVA in SPSS with two within subjects predictors, and requested for measures of effect size. SPSS provides partial Eta Squared as a measure of effect size, but I was requested by a reviewer to change that to partial R squared. As I understand it R squared = Eta squared, so partial Et...
I'm struggling to carry out statistical analysis on my cell viability assay. The assay is widely used (it's called resazurin or alamarBlue assay), but I don't think it is analysed correctly in the literature (I'll explain why below). Here is my hypothesis: decreasing the amount (i.e. knockdown) of my gene of interest a...
I wondered whether tuning hyperparameters, such as the learning rate or the amount of layers and neurons, is done seperately or alltogether. E.G. you first tune the amount of neurons and when getting acceptable error rates you continue with tuning the learning rate. I know there are different methods such as the grid s...
I was initially using the following anova formula in R aov.out <- aov(column_name ~ core * ethnicity, data=mydata) However i noticed that my dataset is quite unbalanced : In light of that I tried looking at ways to do unbalanced anova tests but haven't had much luck understanding what I should be doing. I think I shou...
I have a normal distribution (Resolution), the FWHM of which is used to quantify the performance of an algorithm. The algorithm calculates a resolution, and the FWHM defines the resolution achievable. The data being analysed by the algorithm however has a distribution itself due to experimental effects which can be des...