instruction stringlengths 9 38.7k |
|---|
Assume we want to estimate the following model
$y = e^{\beta_0} * x_1^{\beta_1} * x_2{\beta_3}$ which we can linearize into
$\log(y) = \beta_0 + \beta_1 * \log x_1 + \beta_2 * \log x_2$
Assume that the IV's can have zero value entries.
To deal with this why does one not just insert indicator variables as:
$\log(y) = \b... |
I am currently reading the book "Forecasting with Exponential Smoothing: The State Space Approach". On the bottom of page 14, it says that “In the special case where $\alpha=\beta^*$, Holt’s method is equivalent to Brown’s double exponential smoothing”.
I also found a similar statement in the Duke university’s online ... |
A (essentially) tau-equivalent model has the following specifications:
the factor loadings are constrained to be equal
the intercepts are constrained to be equal (tau-equivalent) or allowed to vary freely (essentially tau-equivalent)
the residual variances are allowed to vary freely
When specifying this type of model... |
A model was fit as below:
m1 <- lmer(log (ld50) ~ var * strain * time + (1|rep) + (1|rep:var) + (1|strain:env), dt)
The response ld50 ranges from 0.15 (lower bound) to 93.77 (upper bound). There are several datapoints at these bounds.
The residual plots look like this:
What is the best way to transform the dataset? W... |
I am currently interested in modelling the time of related events, and I am currently confused as to how to incorporate all different sources of information in a single model.
Consider a toy example with two events $A, B$ which happen at times $Y_A, Y_B$ respectively. We may have information on when these events may ha... |
I am currently working on data representing the abundance of microorganisms in a categorical way, like 0 = no organisms; 1 = 1-5 organisms; 2 = 6-10 and so on (5 being the highest number). And i am not quite sure which dissimilarity index is best to use with vegdist for that kind of data, to then do Pcoa etc. So i want... |
I have been reading about experimental design, and Randomized Complete Block designs (RCBD) in particular and I have a few queries. What exactly is a randomized complete block design ? Is there a standard definition? When should we use this kind of design ? How do we create one, and how do we analyze it (in SAS ideally... |
I am currently working on data representing the abundance of microorganisms in a categorical way, like 0 = no organisms; 1 = 1-5 organisms; 2 = 6-10 and so on (5 being the highest number).
And i am not quite sure which dissimilarity index is best to use with vegdist for that kind of data, to then do Pcoa etc.
So i want... |
I'm very new to mixed models (this is my first attempt) and have about 2 months experience in R so please forgive my ignorance. I am seeking guidance on my current project analysing the relationship between floral species richness and pollinator abundance using a Generalized Linear Mixed Model (GLMM).
Summary of curren... |
Goal
My analysis goal is to estimate the expected value of the outcome variable under three different conditions defined by a set of 3 categorical explanatory variables with two levels each. However, my model also has many categorical variables which i'm treating as covariates (or "nuisance variables").
Background
The ... |
I have two linear regression models: one with intercept term, and the other is without. I wanted to compare the models based on their parameters.
MLE estimator for intercept model is well known to be equal to
$$
\hat{\beta_1}= \frac{S_{xy}}{S_{xx}}=\frac{\sum(x_i-\bar{x})(y_i-\bar{y})}{\sum (x_i-\bar{x})^2}
$$
and MLE ... |
This is question 10.6(c) from Time Series and Forecasting (2nd Edition) by Brockwell and Davis. The parts (a) and (b) of this question can be found here in another SE question.
Question: Suppose that $\{Z_t\}$ is a causal stationary GARCH($p, q$) process with $Z_t = \sqrt{h_t}e_t$,
where $\{e_t\} \sim$ IID($0,1)$, $\su... |
I know that if it says < 3.9e-11 it is significant because it is less than. But this time it has no < symbol, just the value of 3.9-11. Does this mean its not less than or is it still significant? does it need to have the < symbol for it to be less than 0.05? I know that the symbol e means that its very small but i jus... |
I got two questions which are somehow closely related:
Let's take the famous study of Acemoglu et al. (The Colonial Origins of Comparative Development: An Empirical Investigation) as an example.
When replicating you will discover, that in the first stage (i.e. regressing the endogenous variable, which in the study is a... |
My first post of StackExchange.
I am working on data analysis project for comparison of fraud and nonfraud transactions. My objective is to compare the feature vectors of nonfraud transactions and compare them to fraud transactions. For this I am computing similarity scores between nonfraud and fraud transactions based... |
I'm having a hard time trying to figuring out how to resolve a problem that involves a Poisson distribution and a Binomial distribution.
Let's suppose that the total number of offspring (sons and daughters) in a randomly chosen family can be described as a random variable with a Poisson distribution parameter λ = 1.8. ... |
I have data from a longitudinal study, specifically MRI data and performance on a neuropsychological test at two time points. I would like to test whether the change in gray matter in Brain Region A is a better predictor of the change in my neuropsychological measure than the change in gray matter in Brain Region B. Wo... |
I am confused about how best to compare means when the sample is small and they are not normally distributed.
I have survey data which measured the mental wellness status of a very small sample of a known population size (~5,000). To report the difference in wellness scores according to different categories (e.g., sex ... |
Description of the experiment
Each experiment is a performance done by an artist/athlete, and these are independent.
I have $k=4$ judges labelled $J\in \{1,2,3,4\}$ that can classify a performance into one of $m=5$ categories labelled $C=\{Elegant, Powerful, Graceful, Technical, Instinctive\}$.
Observing $N=200$ experi... |
I am conducting a service evaluation study and want to assess the association between referral type (self vs. clinician) and gender (Female v Male v Other). Therefore my contingency table is 2x3. I have counts that are less than 5 e.g. Other - Clinician referral = 1, Other - self-referral = 0 as so thought Fisher's is ... |
I have a population-based cohort and am exploring between two approaches to 1:1 matching:
Hard matching that includes the logit of the propensity score (one step)
Hard matching then creating a propensity score and performing propensity score matching (two steps)
I've found papers that use approach 1 and papers that u... |
Coupling from the past (CFTP) is a Markov chain Monte Carlo method for sampling exactly from a distribution. Briefly, in its vanilla form, CFTP simultaneously simulates a Markov chain starting from each state in the state space. Whenever two (or more) chains arrive at the same state during simulation, they coalesce (i.... |
I'm working on a project to classify customer requests based on a dataset that includes request descriptions, labels and sentiments. The goal is to predict the label (and sentiments) of customer requests (using a supervised algorithm).
Here's an example of my dataset:
descriptions
labels
sentiments
Customer req... |
Below is a made up scenario to exemplify my issue.
I have two questionnaires asking individuals how much headache they have compared with 7 days ago. The scale is from much less through little less, same, little more to much more, coded as -2, -1, 0, +1, and +2, respectively. This was asked in two different ways: how m... |
My understanding about likelihood, given some reading, is that it is how likely we are to observe the actual data given a certain parameter or parameter values $\theta$. Like with the coin toss analogy, say you have $p(h) = 0.5$ be the probability you get a heads and you got 3 heads in 6 tosses. Then, plotting the like... |
I am wanting to fit a logistic regression where some explanatory variables have null values. The nulls are meaningful - for instance, a continuous explanatory variable capturing 'time since last treatment', where for some individuals, they would have no prior treatment. I have a few explanatory variables like this.
I r... |
https://www.cs.cmu.edu/~lwehbe/10701_S19/files/Lecture_3.pdf
At the end of these notes, there is a short paragraph.
Let $x$ be a test point. Let $x_1, \ldots, x_K$ be its $K$ nearest
neighbors. Let $v_x$ be a sphere around $x$ containing its $K$ nearest
neighbors.
Assuming $x$ is an instance of a random variable $X$ w... |
Given n samples from a normally-distributed variable X, we estimate variance as $s^2=\frac{1}{n-1}\sum{(x_i - \bar{x})^2}$. We can also get a confidence interval for such a variance estimate as:
$$CI_\alpha = [\frac{(n-1)s^2}{\chi^2_{\frac{\alpha}{2},n-1}},\frac{(n-1)s^2}{\chi^2_{1-\frac{\alpha}{2},n-1}}]$$
Now suppos... |
In the Wikipedia article on Brier score, there is a claim that the "refinement" in the two-component decomposition of Brier score is related to the area under the receiver-operator characteristic curve (itself equal to Harrell's concordence index in the case of a binary outcome).
What is that relationship? A simlation ... |
I am in the process of fitting a linear mixed model to artificial data generated using simr::makeLmer(), with the goal of conducting power analysis for a study which has not occurred yet. This requires me to set appropriate parameter values for all fixed and random effects I want to estimate. Let's say I want to fit th... |
I performed an experiment where I shocked fish eggs at different times prior to first cellular cleavage, this was to create tetraploid fish larvae.
I have a control group and then 9 treatments (60, 65, 70, 75, 80, 85, 90, 95, and 100% of the cellular cleavage). All treatment groups were conducted in triplicate, a total... |
Let $X$ be a real-valued random variable that is nonzero (that is, not identically zero). For any positive real number $p$ such that $\mathbb{E} |X|^p<\infty,$ define
\begin{eqnarray}
I_p(X)=\frac{1}{2}\frac{\mathbb{E} |X-X'|^p}{\mathbb{E} |X|^p}, \\
\end{eqnarray}
where $X'$ is an independent copy of $X$ and $... |
In the chapter about nonuniform learning in the book "Understanding Machine Learning, S. Ben David et al." (its free online version here), the authors wrote:
if we commit to any hypothesis before seeing the data, then we are guaranteed a rather small estimation error term
$$
L_\mathcal{D}(h)\le L_S(h) + \sqrt{\frac{lo... |
I have a dataset of football (soccer) data, where for each player in a given season, I have the (fantasy football) points scored in a particular match, the opposition attacking and defensive strength for that match, and a number of other variables. For example:
I want to predict the points scored by a particular playe... |
I'm trying to make a multivariate time series forecast using endogenous variables. My features show a lot of spikes (noise), and as I was researching some steps to handle it, I found moving average smoothing to be an option.
But I have a question. If we use MA to smooth out the noise and build a time series model, then... |
I've just read this remark from Frank Harrell:
AHRQ-sponsored research I did on large medical outcomes datasets in
the 1990s with the amazing University of Nevada Reno
physician-statistician Phil Goodman, whom we lost at an all-too-early
age, demonstrated that important non-additive effects are rare when
predicting pa... |
Assume we have the following model: $y = \beta_0 + \alpha_1 * x_1 ^{\beta_1} + \alpha_2 * x_2^{\beta_2} + \alpha_3 * x_1^{\beta_1} * x_2^{\beta_2}$ where as we have the following priors for our IV's $\beta_1 \sim Beta(1, 1), \beta_2 \sim Beta(1, 1)$ thus $0 <= \beta <= 1$
I wonder how I can deal with the multicollinear... |
In his very helpful online book on structural equation modeling, Jon Lefcheck writes the following concerning d-separation tests for SEMs:
Once the model is fit, statistical independence is assessed with a t-, F-, or other test. If the resulting P-value is >0.05, then we fail to reject the null hypothesis that the two... |
One hundred people were recruited in two sessions and randomly assigned to one of two groups. Some information about the design and analysis:
In Session 1, participants were given gum to chew whilst doing a series of tasks to complete.
In Session 2, participants were not given gum to chew and did the same tasks in th... |
I would like to investigate the effect of a drug on survival with Cox regression. The drug can be administered either once or twice. In the univariate Cox regression, I see that a shorter time interval between the two drug administrations has an effect. I would also like to examine this effect in the multivariable Cox ... |
What is the probability of the following: $P\left(Z_j>\frac{\epsilon}{a_j*R}\left(\sum^{M}_{m=j+1} ~ a_m*R*X_m+1\right)\right)$
where $Z_j$ and $X_m$ are independent and identically distributed random variables, where they are continuous random variables that take values from 0 to infinity. having the following CDF:
$F... |
I have a production process, which produces one or more goods on a certain day. For this example, assume the weight of the produced good is consistenlty measured. However, the operators can ofcourse differ on a day-to-day basis.
I want to establish control limits for this production process based on the weight. However... |
This is a very basic question. I am trying to understand how a BVAR model works. One thing I dont get is why we are using a burn-in period and what we are making "draws" from. I simply can not find any explanation of these concepts.
Why are we making draws? What are we drawing from? What is a burn-in period? Where can ... |
I am trying to avoid large amounts of type-1 errors in the evaluation of multiple hypotheses within the same online A/B test. Currently, features are tested across different platforms, with several evaluation metrics each, where every distinct hypothesis is evaluated daily. I already employ sequential testing/alpha spe... |
I am interested in the effect of certain interventions $T$ on my value of interest $Y$, my model is,
$$Y = \tau f(T, X, Z) + g(X, Z), $$
where $f(T, X, Z) = T \times X + T \times Z$ , that is all the pairwise interaction of $T$ with the features $X$ and $Z$.
The feature $Z$ is some function of $X$s, that is exist $m(X)... |
I have an autoencoder model with 5 layers in encoding and 5 layers in the decoding section. I am using this model for signal processing the problem is that it is making the signal way more smooth that I need it to be, losing some important information.
I have tried increasing the number of layers in the encoding and de... |
In this experiment, a machine is used to compare the wear resistance of 4 different types of rubber-coated fabric (variable mat coded A, B, C and D). To do this, the machine is run 4 times (variable run, values 1,2,3,4 - these are labels not numbers). The machine has 4 different (independent) surfaces that mechanically... |
I am working on a quasi-experimental study to compare an interventional and control arm. I have generated inverse-probability weights (IPW) and weighted the population (N=300) when estimating effect of interest. The study is also interested to look at a subgroup of diabetic patients (N=50) within the weighted populatio... |
Suppose I have some samples $x_1, \ldots, x_n$ from $\mathcal{N}(\mu, 1)$ for unknown $\mu$. Then the maximum likelihood estimate for $\mu$ is just $\overline x = \frac1n \sum x_i$. Ideally, we can find a proper prior for $\mu$ such that after Bayesian update on all samples, the posterior density at $\overline x$ is th... |
I'm uncertain about where to post this question. I'm currently working with geotechnical data (soil parameters) and aiming to obtain realistic and safer parameter values.
To achieve this goal, I've started developing a Bayesian framework for my parameters using PyMC. However, for practical purposes, it might be challen... |
Assuming we have a regression task (1D-output, values between 0.0 and 1.0) with 100 input dimensions and a classical MLP with one hidden layer.
When given 10000 training examples, a network with, for example, 50 neurons in the hidden layer has around 5000 trainable parameters and might overfit.
To avoid this, two (out ... |
So the Cramer-Rao bound gives us a lower bound on the variance of an estimator, now if the estimator is unbiased then we have a bound on the mean square error. While I can see the utility of the bound for unbiased estimators, i.e., we have a lower bound on the squared error from the parameter we are trying to estimate,... |
The German Wikipedia gives the following example for events that are all pairwise independent, but not jointly independent:
From four paper slips containing the numbers 112, 121, 211, and 222, one slip is randomly drawn. Consider the following events:
$$A_i = \mbox{"1 is at the $i$-th position"}\quad\mbox{ for }i\in\{1... |
I have run this binomial GLMM:
m17 <- glmer(Attendance ~ Day + Sex + (1|AgeClass) + (1|Year) + (1|Plastic), data = test2, family = binomial(link = "logit"))
This is the summary output of the model:
Generalized linear mixed model fit by maximum likelihood (Laplace Approximation)
[glmerMod]
Family: binomial ( logit ... |
Harrell's Regression Modelling Strategies suggests that the number of predictors should not exceed $m/10$, $m/15$ or $m/20$.* For logistic regression $m$ is $\textrm{min}(n_1, n_2)$, where $n_1$ and $n_2$ are the numbers in the two categories you are predicting. (E.g. number of deaths, number of survivals.)
If you are ... |
Suppouse I have a data set of the form $p = 200$ and $N = 35$. I am interesting in the multiple linear regression model train, for this reason I need somehow simplify my data. I decided to use two methods: PCA and Laplacian Eigenmap. I tried to reduce the dimension to $p \in [1,\cdots 28]$ ($28$ because $7$ other point... |
If I'm running a multivariate OLS regression and look at the t-stats of coefficients, is it the case that the coefficients with smaller t-stats are shrunk relatively more if I were to run the same terms with a Ridge regression? Is there a relationship between the t-stat from OLS and the magnitude of shrinkage from the ... |
I'm working on a final project and need to estimate a multilevel logistic model for analyzing dropout rates in higher education in a specific region.
The model has three levels, where intercepts vary across courses and institutions. I'm using the lme4 package and the glmer function. I understand the results for fixed e... |
I have a repeated measure design and I want to calculate the power to detect a future hypothetical % decline in a mean, but found multiple versions of this calculation - each involve something called an non-centrality parameter (ncp). The 3 equations I found yield different results for this parameter and I'm not sure w... |
I am very confused by this because when I watch videos or read about MLE with linear regression it seems to be commonly assumed that $X$ is fixed or that if it is random we don't care for the purposes of estimating $Y$ using $X\beta$, as $X$ is assumed to be already known.
Assuming I have understood that reasoning prop... |
Let a dataset $\mathcal{D}$ be sampled according to $F_{\mathcal{D}}$.
My question is, suppose I create bootstrapped samples from $\mathcal{D}$. That is, create $\mathcal{D}_1, \ldots, \mathcal{D}_M$ using sampling with replacement.
Can I consider $\mathcal{D}_1, \ldots, \mathcal{D}_M$ as coming from the same distribut... |
I´m trying to meta-analyze odds ratios from logistic regressions; some of which log-transformed the independent variable first.
(i.e. some studies present an OR per +1 in the independent variable, and others present OR per b% increase in the independent variable, where b is the base of the logtransformation).
I know t... |
I have four categorical groups (A, B, C, D) each with one mean representing a numerical, skewed variable. The data structure is as follows:
Rows: 4
Columns: 2
$ complexity <dbl> 26.64353107, -57.49406460, -40.99757998, 71.84811350
$ CEFR <fct> A1, A2, B1, B2
Problem: Unfortunately, the full data points per group... |
I set up an ANOVA to test for a 2-way interaction. However, for my hypothesis I would need to test whether the levels A and B of facor 1 are different for each level of factor 2. In a frequentist analysis, I would opt for a Tukey post-hoc test to check for these differences, but I do not know how to do it for a Bayesia... |
I have two "identical" vectors with the same length in R, x and y. Here is what they look like on my screen:
When I run:
plot(ecdf(x),
xlim = range(0.98,1),
col = "blue")
plot(ecdf(y),
add = TRUE,
lty = "dashed",
col = "red")
I get:
Also, the ks.test produces:
The D value should be 0, ... |
I have a dataset test_data that measures mortality in response to dosage of a pesticide. I used a probit model that evaluates the efficacy of a single pesticide. Where we would want to determine, for example, the median lethal dosage at of pesticide A at 3 days. The model would be as follows, x=log10(dose) and y=mortal... |
So I have 4 raters who scored the subjects in the study with a nominal score like: "Present", "maybe", and "absent". I made pairs of the raters and evaluated their inter-rater reliability using Gwet's ac1 coefficient. The pairs were:
Rater A and B
Rater A and C
Rater A and D
Rater B and C
Rater B and D
Rater C and D
... |
I am working with the following dataset. (I attached a screenshot of some of my data):
Data name is HTO and has the following variables $x$ and $y$, pre- and post-test, and the delta ($\Delta$) values for both $x$, $y$ (difference between $x$ and $y$). A multiple regression analysis showed that $\Delta y$ can be sign... |
I am a beginner to data science. I found this dataset that covers natural disaster incidents in Afghanistan from 2016 - present. Here are the 13 columns: REGION (South West, North, etc), PROV_CODE (Province code), PROV_NAME, DIST_CODE (district code), DIST_NAME, INC_DATE (Incident date), INC_TYPE (Incidence type), Pers... |
I've consulted a few references, including this online book, and I've got a good grasp on using double machine learning to estimate ATE after debiasing/denoising the treatment variable (T) and the target variable of interest (y). In a nutshell, some ML algorithm uses a set of nuisance covariates to predict both T and y... |
I am not asking about how linear regression is derived. I am asking why oftentimes linear regression is the most useful to predict data. I understand that there are different types of regression, but what conditions must data satisfy in order for it to be represented by a line? There is always a hypothetical line that ... |
I am trying to simulate data using parameters from a glmer() model output. The model, which comes from a published paper, is as follows: DV ~ 1 + group* sex *verb type + trial number + (1 |participant) + (1 | stimulus). All three IVs (group, sex and verb type) comprise 2 levels and are deviation coded so that, for inst... |
In Previous years we have reported on mean satisfaction for customer satisfaction. Previous years have been calculated on a 5 point scale. We have moved to T2B satisfaction ratings with the scale now 1-10. (Satisfied and Very Satisfied representing the top 2 boxes). In order to show trending, I need to know how to c... |
I am training a simple RNN model in keras to predict a time series.
The time series I am considering is just a sine function
$$
f(t) = \sin \left(\frac{3}{10}t\right)
$$
The task to solve is the following:
Given a timeseries of 90 time steps, predict the next 10 time steps.
I am generating my training set by sampling... |
I'm trying to implement example from a classic AI paper named "Learning representations by back-propagating errors" by Hinton et al.
Example aims at training network able to predict third term in triples of (person_0, relationship, person_1) across small artificial dataset. Neural net consists of 5 FC layers with sigmo... |
Consider these two approaches to evaluating a classifiers performance:
Choose a metric that summarizes the confusion matrix at a pre-determined decision threshold. Common suggestions seems to be Fbeta score for a model where True Negatives are not of great importance and Matthews correlation coefficient if True Negati... |
Continuing this question, I want to ask if its possible to have a multivariate random distribution having simultaneously all its random variables reverse correlated. I think it is impossible, because when a pair of distribution is reverse correlated the third distribution will be correlated with one of the two and reve... |
I've implemented the gradient descent method for finding roots of a system of nonlinear equations and I am wondering how the residual is determined? Is the residual simply the Euclidean norm (2-norm) which is norm(F,2)? I am trying to plot the residual to see the changes over time but I am quite confused about the term... |
I would assume that a perfectly linear time series would exhibit trend-stationarity. This is not what I find when I use run this test in both Python and R. The KPSS test for stationarity around a trend suggests that the perfectly linear relationship is not stationary.
Can someone please help me explain what I am missin... |
Quick question (hopefully)...
If you have a correlation of -0.256 with a 99% confidence interval of -0.541 to 0.185,
OR, a correlation of -0.336 with a 99% CI of -0.597 to 0.125...
That essentially translates to a non-significant correlation, right? At least, not at the p < 0.01 level...
Tell me if I'm getting this wr... |
I want to know what the proper procedure is for incorporating sampling weights into a regression. I am running a spatial regression using survey data in R. I'm using the function lagsarlm() in the spatialreg package. I'm just unsure of how to incorporate sampling weights, or whether it's even appropriate to do so. I no... |
I have two product designs and I want to see if there is a significant difference between which people like which design the best. I did a survey where I showed a photo of each design and asked questions like:
Which one looks better overall?
Which design logo do you prefer?
Which color scheme do you prefer?
So that I... |
Consider a dose response study where there are four active treatments (from the highest dose and lowest dose) and also a control. One goal is to test the hypothesis that treatments are more effective than the control (mostly interested in the higher doses vs control). Another goal is the evaluate the dose response rela... |
I want to compare scores before and after an experiment.
However, the samples before the experiment consist of individual scores, while the samples after the experiment are composed of groups of two individuals, resulting in group scores.
In other words, there are twice as many samples before the experiment as there ar... |
I have a dataset of football (soccer) data, where for each player in a given season, I have the (fantasy football) points scored in a particular match, the opposition attacking and defensive strength for that match, and a number of other variables. For example:
I want to predict the points scored by a particular playe... |
I'm looking to quantify route safety for each route in our route database. For this, I have the following data in the past 2 years:
accidents observed for each route,
no. of phone usage events
no. of high acceleration events
no. of braking events
no. of potential collision events
At first I wanted to add up these fea... |
I would like to know how to derive the empirical expression of the test statistics below:
$$
\omega^2 = \sum_{i=1}^{n}(U_{(i)}-\frac{2i-1}{2n})^2 + \frac{1}{12n}
$$
from
$$
\omega^2 = n \int_\Omega(F_n(x)-F(x))^2dF(x)
$$
I presume that :
1.approximate $dF(x)=dF_n(x)=\frac{1}{n}$ and $dF_n(x)$ is discrete that $n \int_\... |
Can you please help me interpret the earning persistent? Thank you so much!
|
I am investigating the relationship between device usage and screen time for my math assignment (my last ever high school math assignment, yay!), but after creating the residual plot, I realised it looked basically identical to my scatterplot. What does this mean in terms of whether the linear equation is appropriate f... |
I'm trying to analyse a non-inferiority trial in R. Since there are correlated observations and a population averaged interpretation seems fine, I want to use GEE.
To illustrate my problem, I will use the muscatine data that is embedded in the gee package in R.
The research question can be as follows, I want to investi... |
Does the non-multicollinearity assumption apply to DBSCAN?
I've read that this clustering method makes no assumptions about the density or variance in clusters that may exist in the data set. Can that be used as a reason that DBSCAN does not need assumptions?
|
I've only just been taking a dive into DoE, so I'm still green on how to setup the designs according my experiment, so this question is more about confirming my understanding of experimental design.
I'm designing an experiment with four two-level factors, one of which an ordinal categorical, and one nominal categorical... |
I am running a regression in python (a basic market model with just one index as regressor). After doing that I conduct the heteroscedasticity test on residuals using two tests, White and ARCH. I am having trouble understanding the situation when I only obtain significance in the White test. In other words, how should ... |
Say I have a clock that emits "ticks". An ideal clock looks like a dirac comb. It has:
perfect periodicity of ticks (there is a precise fixed time interval between any two consecutive ticks)
perfect tick sharpness (infinitely high infinitely thin spikes at each tick, integrating over a tick will increase the state by ... |
Assuming I have observations nested in groups with varying (true) means. Using a random intercepts mixed model (multilevel model), I can estimate the variance of these random intercepts. Additionally, I could estimate the group means, conditional on the model. Is it reasonable to expect that variance of conditional mea... |
I am curious whether the property of homoskedasticity is more or less dependent on the correlation between independent variables. I assumed that if the $cor(x_1,x_2....x_n) \approx 0$, hence the movements of each variable became a random path. But on the other hand we also do not want to perfect collinearity between in... |
I have a set of data and I am using this code on it:
categorical_columns = ["x3"]
numerical_columns = ["x1", "x2", "x4", "x5", "x6", "x8"]
preprocessor = make_column_transformer(
(OneHotEncoder(drop="first"), categorical_columns),
(StandardScaler(), numerical_columns),
remainder="passthrough",
verbose_feature... |
This is my first question so apologies for any problems with it.
I am carrying out an experiment which involved counting the number of people using the stairs or the elevator during a 30 minute period, on the same day in consecutive weeks (this test is being performed in a university building where it can be assumed th... |
We have two slot machines, $B_1$ and $B_2$. We've played the first machine $n_1$ times and gotten the rewards $R_1^1, \dots, R_1^{n_1}$ and played the second machine $n_2$ times and gotten the rewards $R_2^1, \dots, R_2^{n_2}$.
Based on the data $x = \{ R_1^1, \dots, R_1^{n_1},R_2^1, \dots, R_2^{n_2} \}$ we want to dec... |
In cluster-randomised clinical trials it is often the case that 'units', be they hospitals, practitioners or primary care centres etc., are randomised to the intervention or control arms prior to recruitment of the patients.
In this case, it can be expected that not 100% of patients in each cluster will consent to bein... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.