instruction stringlengths 9 38.7k |
|---|
I'm considering some projects in the future which require modeling literacy outcomes as composites (such as word reading scores), which will naturally never have negative values (it's impossible to read negative words on a page), and is capped by the maximum score one can attain (for example somebody reading $50/50$ wo... |
What is the distribution of $Z^2-Z'^2$ where $Z \sim N(0,\sigma^2)$, $Z'\sim N(0,\sigma'^2)$?
I was thinking maybe you could write $(Z-Z')(Z+Z')$ so then you get a product of two normals but then I'm not too sure how to write it as a single distribution.
|
I want to use ML to verify if Cuban cigars are overpriced. I want to use this website https://www.cigaraficionado.com/ratings/search?q=&brand= to get cigar data. The website provides a blind testing score for every cigar and key cigar characteristics e.g. length, type, price, origin.
My current thinking is that I shoul... |
In longitudinal models (ex: regression), for the same person, I have never seen the time between two measurements being used as a variable. For example, if person1 has the first measurement on day 1 and the next measurement on day 5 .... but person2 has the first measurement on day1 and the next measurement on day 43 .... |
while I seem to understand that there is a general matrix-based formula that allows us to solve for multivariate regressors, when looking at the non-matrix solution for a bi-variate $\beta$ I realised I wasn't quite able to understand the mechanics which allows for the partialling-out of one variable or the other.
The ... |
Information added: this question is not duplicate, neither my question nor the question in the link had been solved at all, I added more info to see if you can see the problem
I was trying to understand how logrank works. For that purpose I used a toy dataset with only a few rows (30 rows). I calculated by hand (with G... |
I have a dataset with a class imbalance in favour of the positive class (85% occurence)
I'm getting a fantastically calibrated probabilities profile but balanced accuracy is 0.65 and minority recall is only 0.35 (!). Minority precision is 0.7 or so though.
I'm not really sure how to interpret this. My stakeholders are ... |
I found that there has been extensive discussion on the invalidity of R-squared for nonlinear models according to its original definition based on the following mathematical analysis,.
The variance in the dependent variable:
$$\sum{((Y_i-\bar{Y}))^2} = \sum{((Y_i-\hat{Y_i})+(\hat{Y_i}-\bar{Y}))^2} \\= \sum{(Y_i-\hat{Y_... |
Say we have a well setup A\B test that puts half of users in one arm, half in another. We are testing clicks on a website.
I'm trying to understand how to speak about the impressions as draws from a hypothesis test that assumes the impressions are from a single Binomial random variable, while we measure parameters for ... |
I have a longitudinal RCT data, aiming to compare the superiority of one group with high exercising to the other group with low exercising to see the improving of pain (pain is outcome). Data is collected at baseline, 3 months and 6 months. So now I am in doubt about the modeling. I use linear mixed model, but: which o... |
I would appreciate a little bit of advice on reporting. I've run a set of multinomial regression models, done my model testing, all that good stuff. Now I am waffling on how I want to report the results. My audience will not follow along with odds ratios, so I am using the sigmoid function to report in probabilities. E... |
I am trying to derive two maximum likelihood estimators which I have seen in a statistics book, but I am unable to derive them and would really like some help.
It goes like this:
Consider the simple AR(1) model:
$$X_t=\rho X_{t-1}+\varepsilon_t$$
We assume that $\varepsilon_t$ is i.d.d. normally distributed.
Now with $... |
I'm taking a regression analysis course and we were studying simple linear regression.
I've understood how slope
$$
\hat\beta_1 follows \space N(0,\sigma^2 / S_{xx})
$$
and is normally disributed.
And
$$
\hat\sigma^2 follows \space \sigma^2 * \chi(n-2) / (n-2)
$$
the estimated sigma^2 follows a chi square distribution.... |
0
I am using gtsummary to create a table that merges univariate and multivariate regression results. Here's the code I'm using:
r2 <- tbl_regression(step.model, exponentiate = TRUE) %>%
modify_header(label = "**Variable**") %>%
bold_labels()
r1 <- dmtb11_v1 %>% tbl_uvregression(
metho... |
A game is played with $n$ dice, and an additional parameter $r<=6$. The game has one player who must throw all $n$ dice on each round and add the score to the total. The game works as follows:
The player starts with a score of zero.
On each round, the $n$ dice are thrown and the sum of the dice is added to the player'... |
I am trying to graph the accuracy, error and precision scores over epoch for a neural network and am using cross validation. However, my training and validation scores are practically on top of one another (see image below for an example). There is a little variation where the blue is peaking out from behind the green,... |
Suppose we have a DAG in the figure.
I want to find the formula for $P(Y \mid do(X), S)$. What I think is that: Since $W$ is the parent of $X$ then we should have
$$
P(Y \mid do(X), S) = \sum_{W} P(Y \mid do(X), W, S) P(W \mid S).
$$
I think this is something like backdoor criteria (although I cannot find a formula... |
I attended the course on multiple imputations, where it was stated (to my understanding) that when imputing the missing data on some predictors we should use all variables that will be fitted in the model (except outcome).
I am using the linked datasets in my model.
dataset 1 is the person level dataset of demographic... |
I have been trying to perform Forecasting of a univariate Time Series Data with "daily" recorded observations and exhibiting an "annual" seasonality. The image below depicts the mentioned series:
While I have achieved success using Statistical Methods, I wish to compare the same with ML/DL Techniques. Following sugges... |
I am trying to perform sensitivity analysis on a causal inference (observational study) problem in a dataset that has a binary outcome and binary treatment. I've applied matching and g-computation with the guidance of vignettes in MatchIt().
I've heard that sensitivity analysis is an important step of the procedure to ... |
https://pytorch.org/tutorials/beginner/dcgan_faces_tutorial.html
I was refering this notebook but default size is 64*64
I want to change architecture to 256 or 512
Can anyone help me with training
Please provide me with code
image_size = 64
# Number of channels in the training images. For color images this is 3
nc = 3... |
I have a variable that changes over time. Let's call this variable "the error".
I use a histogram to graph how many of intervals of error has occurred. For example
Here you can see that a particular error of 0.1 has occurred almost 1500 times and another of [0.1,0.2] has occurred a little less (like 1400 times) etc.
I... |
I have a question of type:
Suppose I toss a coin for m times, and I get a head every nth trial, from the previous one. So let's say every 3 trial. This would be: $\text{TTHTTHTTHTTH}\dots$. If the probability of a coin getting heads is $p$, how can I maximize $p$ to get the results mentioned above?
I am quite confused ... |
I have two independent variables, distance and light intensity (continuous variables) that I want to understand their relationship on a human response (response or no response). Here, light intensity represents the stimulus and distance represents how far people are from it.
Initially, I carried out a t-test of indepen... |
I like to learn how to interpret the effect estimates from a 4 level categorical predictor variable X , when my outcome Y is a continuous variable.
Y = outcome variable
X = 1,2,3,4 , categorical variable, where x=1 is my reference level.
These are the estimates from the model.
Model : Linear Model
Intercept : -0... |
I know that we can use training data error to know if the model is underfitting, but it tells us more about the model than the data.
How to know if the data is just hard to model? Are there any metrics to assess how hard the data is to model?
|
I have a scenario about limited dependent variable models and some of their implications. Suppose that I estimate some limited dependent model, it does not really matter which one, that captures the factors that affect the choice of time when $N$ individuals go to a doctor's appointment. We assume that there are only $... |
so i am using the fetch_california_housing() dataset from scikit-learn and did some simple linear regression with this. Here is a screenshot of the dataset characteristics.
I plotted the predicted values over the true values, as you can see in the following screenshot, and found a mean square error of 4.638.
What i f... |
I fitted a cox proportional hazards model in R using the coxph(). My explanatory variables include; gender, residence, antenatal care, tetanus injection, iron tablets, size at birth, place of delivery and Caesarean section. The model provided hazard Ratios for the variables mentioned.
How do I know the hazard Ratio ass... |
As the question says, is $P(\frac{X}{Y}<a)$ greater when X and Y have positive covariance than when they are independent (both positive random variables)?
My intuition is that if Y is likely to be larger when X is larger, then X/Y is likely to be smaller than if X and Y were independent.
Specifically I'm interested... |
I have to simulate time series with multiple seasonality and I don't understand how I can do it.
In particular I have to simulate:
A series with two deterministic seasonality (each with a different period) + AR error
A series with two stochastic seasonality (each with a different period) + AR error
Can anyone help me... |
I have a dataset with 14 clusters, and within each cluster it's time series data with some autocorrealtion. It is decision dataset of a group of 14 subjects.
The clusters are also suspected to be correlated, and so I am thinking to use bootstrapping standard error.
I am wondering if the following resampling will work:
... |
I'm teaching myself about Kalman filters; I've studied a number of videos and articles and have enough of an understanding now that I can effectively construct and use them.
However, most of what I've seen skips over the "process noise" parameter (the Q matrix) and just states things like "you can make these up".
My qu... |
Does $\operatorname{Cov}(X,Y)>0$ imply $\operatorname{Cov}(X^2,Y^2)>0$ if $X$ and $Y$ are positive random variables?
My intuition would say yes since if $X$ increasing means $Y$ is likely to increase, then $X^2$ increasing should mean $Y^2$ is likely to increase (using the fact they are positive).
|
I have three variables 1) Price 2) harvested Area 3) Yield rate of rice. I am trying to test if there are relationship of each variables between each other so that i can draw some conclusion regarding whether stabilise the rice price can help to stabilise the yield/ harvest area.
I tried to take a log of these three va... |
I have downloaded five family income variables from https://nhis.ipums.org/nhis-action/variables/group?id=economic_income (INCPPOINT1, INCPPOINT2, INCPPOINT3, INCPPOINT4, INCPPOINT5) for they years going from 2009 to 2018.
These variables come as imputed point estimates.
My question now is: how can I use these imputed ... |
I came across this article/blog post by Spotify R&D in which they talk about a statistical method called Difference-In-Difference (DID) that they use in the context of A/B testing and how they are solve some issues related to DID in presence of autocorrelation.
I had never heard about DID, but I though that it would be... |
The Original question is here Suppose we have a DAG in the figure.
The question to is find the decomposition for $P(Y \mid do(X), S)$. If the backdoor criteria can be applied here, then the following one does hold
$$
P(Y \mid do(X), S) = \sum_{W} P(Y \mid do(X), W, S) P(W \mid S).
$$
However, it seems that we can a... |
I came across a paper, where (section 3.2) importance sampling is used to estimate an integral. I think I understand what importance sampling is but I don't understand how they got the solution.
The integral they try to estimate:
(1)
The estimation:
(2)
where q is a proposal distribution they sample from.
For me the... |
We have made almost 400 laser experiments where the measurements are done through a photocell, registering voltage variations corresponding to variations in the intensity of the laser beam. When the raw data was plotted, we noticed a "raining" effect, meaning that there was a general line and often from that line came ... |
Let $f_1(\mathbf{x})$ and $f_2(\mathbf{x})$ be the probability density functions associated with the $p \times 1$ vector random variable $\mathbf{X}$ for the populations $\pi_1$ and $\pi_2$, respectively. An object with associated measurements $\mathbf{x}$ must be assigned to either $\pi_1$ or $\pi_2$. Let $\Omega$ be ... |
I'm trying to train an encoder-decoder transformer model for completion of binary-valued data. The each input is basically a length-n bitstring $x = (x_1, \dots, x_n) \in \{0,1\}^n$, generated according to some probability distribution, which has been masked to hide a subset of bits during training.
I am confused about... |
As is clear from the title, the question concerns what happens when finer categories are introduced in a regression. For example, suppose we want to analyze the effect of height on income comparing men and women using the regression $\text{Income}=\beta \text{Male} \times \text{Height}+\theta \text{Height}+\zeta \text{... |
Assuming non-proportional hazards for karno (and based off p 21):
https://cran.r-project.org/web/packages/survival/vignettes/timedep.pdf
How does one interpret the HR for karno?
Is the HR = 0.9590 for time = 0, and then for each additional time unit you multiply the HR by 1.0010?
e.g. HR at time = 10 equals 0.9590 x 1.... |
Suppose you're working on infrastructure for web service and you're tasked with determining the probability distribution of concurrent requests to your services.
In example, suppose the first request arrives at 6:05:00 am with a duration of two seconds (until 6:05:02), the second arrives at 6:05:01 am with a duration o... |
Q1 part A&B I have so far
$$\underset{n\rightarrow\infty} {\lim} \frac{1}{n}\sum_{i=1}^nI(T_i>x)$$
since we are summing an indicator variable we can say it has a Bernoulli distribution with probability $P(T_i > x)$ call this $W_i$
so now we have $$\underset{n\rightarrow\infty} {\lim} \frac{1}{n}\sum_{i=1}^n W_i$$
By... |
So the data I'm working with is GPS tracking data of pelicans and Offshore rigs with the goal of seeing if pelicans are positively or negatively affected to the presence of rigs. But before I can do any analyses on that, I need to figure out the size of the "interaction range" for the rigs. I want to do a sensitivity a... |
I need your help as I'm terrible with statistics.
I'm doing an experiment where we're looking to see if treating tendons with two different chemical agents at separate times, at different concentrations, treated at varying times, affects their tensile strength.
We had 5 tendons in each group (i.e. used 45 tendons total... |
You roll a fair die until the cumulative sum rolled so far is a multiple of 3. You get $1 for each roll. What is the expected amount you will get?
I started by finding the probability of the game ending with "i" rolls, P(i). If I have this, I can then find the expectation. P(1), the probability of the game ending in 1 ... |
Consider a multivariate Gaussian $Y\sim\mathcal{N}(\mu,\Sigma)$ of dimension $n$. For fixed $c\in\mathbb{R}^n, A\in\mathbb{R}^{m\times n}$ and $c\in\mathbb{R^m}$, what is the conditional distribution of $c'Y$ given $AY\geq b$ (where the inequalities are componentwise), i.e. what is the distribution of
\begin{align*}
c'... |
You come up with a great idea of an estimator for $\beta_1$ in the SLR model which satisfies SLR.1 to SLR.4:$$y_i=\beta_0+\beta_1x_i+u_i$$ Given a sample $\left\{(x_i,y_i),i=1,2,3,\dots,n\right\}$, you connect the first sample observation to the second sample observation and compute the slope of the line: $\frac{y_2-y_... |
I want to create a simple CNN model for multi-output prediction. The predicted values are four numeric values (all between 0-1) and one categorical value (4 classes). When I try to create a model using Keras, I cannot predict numeric and categorical values using one model.
I use a workaround for a categorical variable,... |
On page 435 of Cosma Shalizi's advanced data analysis book (link: https://www.stat.cmu.edu/~cshalizi/ADAfaEPoV/ADAfaEPoV.pdf), he states the following about randomized experiment for causal inference:
to examine the contrast between Pr (Y |do(X = x))$ and $Pr (Y |do(X = x')),
we use an independent source of random noi... |
GLM model raises a warning regarding glm.fit: algorithm did not converge. I have two ideas to solve the problem.
Force the initial model with a warning with stepAIC, then use the final model produced with the stepAIC method, which does not produce a warning, and then make predictions. The initial model and the final m... |
The experiment was about testing 3 devices on the same motorcycle that measured vibrations.
1 lap of the circuit was performed with the 3 devices mounted at the same time and the vibration was measured.
This was carried out 70 times in total, 35 on an indoor circuit and 35 on an outdoor circuit and on 5 different tire ... |
The problem:
A psychologist is interested in short-term working memory under (1) sleep deprivation, (2) a strong dose of caffeine, (3) following 8 hours sleep. They conduct a between subjects design. Each participant is given a list of 7 words to read, then asked to remember the words 30 seconds later.
The data set has... |
I posted this question in a different version on R-sig-mixed-models and received no reply. I am trying my luck here. I am trying to emulate an ANOVA-based approach to analyzing round-robin data with a mixed-effect model. In the example data below, every person (Perceiver) in a group of 10 people rates how much they lik... |
I apologize if my question seems basic, but I'm attempting to derive confidence intervals for certain parameters whose estimates were obtained through nonlinear least squares regression. Unfortunately, just for some of the system parameters, I had to introduce an L2 regularization term into the cost function. The cost ... |
I am reading a book in which the proof of Expectation of normal is 0 is proved. I couldn't figure out how the right hand integral of equation 6.1.2 is less than infinity and how c1 is exactly chosen?
Any help is appreciated
|
I want to sample from a distribution $\mathcal{N}(0, \Sigma)$ where all I have is the ability to calculate $\Sigma v$ for all $v$.
Is there any algorithm such that I can compute $Lu$ for any $u$ such that $LL^{T} = \Sigma$ ? Or in general a way I can sample from this distribution where all I have is a function $f(v) = ... |
When modeling a regression (glm.nb) one of my predictors is the number of sides of a road that has forest next to the road. This means my predictor can take one of three values. 0 = no forest on either side of the road, 1= forest on one side of the road, 2= forest on both sides of the road.
I am a bit confused if this ... |
I have a small data set of 18 persons. I have an outcome variable Y, and 200 predictors. These predictors were chosen based on biology and prior data.
I used the caret R package and split the data set in two, a training set of 10 persons and a test set of the remaining 8 persons.
I then trained a RIDGE model using glmn... |
I am a PhD student and I have to run a mixed-ANCOVA on some questionnaire scores (my dependent variable) according to the following model. Factors of ANCOVA are (a) Timepoint (pre-intervention, post-intervention) and (b) Type of intervention (experimental group, control group) with covariate 'pre-intervention values of... |
I have created XG Boost, Random Forest and GLM models for classification of a binary outcome and now I want to externally validate the models on a different population of over 5000 subjects.
I have gained insight on the importance of calibration and model updating by reading several publications by amongst others Ewout... |
What is the good model for the case of bias in the distribution of the dependent variable? The dependent variable is categorical variable and one categories are dominant (about 90%).
Although I can set dependent variable both as ordered categories (in ordered logit model) or binary (probit model), one category remains ... |
I have data that goes from negative to positive.
When plotted in an histogram it looks like this
The data is the "error".
If I have another set of data I want to learn how to judge which data is "better" (the smaller the error the better the data).
I have been advised to convert everything from frequency to density to... |
Hi I am running a series of latent growth curve models.
I am wondering: can predictors of the slope and intercept factor(s) be included when the slope and/or intercept variance are not significant, or should this be avoided?
Further, I am wondering whether the answer to this is impacted by 1) missingness in the data (a... |
Consider the following loss function.
loss = ( ( torch.where(d > threshold, torch.sqrt(d), 0) * t ) + ( torch.where(d <= threshold, (1 - d), 0) * (1 - t) ) )
where d is a vector of distances and t is a binary vector for targets. My rationale behind this custom loss is that I want a distance-based loss that encourages ... |
I am reasonably certain that we don't need to scale data before applying ICA, like we do for the PCA. In PCA we do this because it assumes normal distribution of the features, and in ICA we don't impose such a requirement. Is that a correct line of thought?
|
Background
Recent trends show cool QR-codes made by the QR-code monster model used in Stable-Diffusion (SD) with ControlNet.
Those are also used to create images containing hidden text/hidden images (objects, faces etc.). See the image below as an example, and for more examples simply search "controlnet stable diffusi... |
I have a regression model for density predictions and I eventually did a model that I do not trust.
It gives me an $R^2$ of 0.93
I am not sure what to call this phenomenon: is this heteroscedasticity? I did the Breusch-Pagan test and it showed that there is none.
To investigate this further, I split the models into tw... |
trying my luck here since no one in my surroundings has worked with SPSS before
and I am also clearly a newbie to SPSS and statistics.
For my master degree I am researching possible correlations/a possible relationship between variables of Social Media Use and Purchase Intention Behavior.
While variables such as gender... |
Im am working on a university project that tries to estimate the kausal impact of childbirth and and labour income. The problem can be described as follows. In theory you would need childbirth to be assigned randomly. In practice individuals self select themselves into the treatment group (having children). I want to u... |
Let $X$ and $Y$ be independent random variables where $X \sim uniform[\underline{x}, \bar x]$ and $Y \sim uniform[\underline{y}, \bar y]$.
What is the conditional expectation of $X$ given $z = X + Y$?
Here are my thoughts so far:
$$
E[X|X + Y = z] = \int^{\bar x}_{\underline{x}} x f_{X|Z}(x|z)dx
= \int^{\bar x}_{\under... |
Background
Seeking a clear and authoritative explanation of a key concept of Rubin's Potential Outcomes Framework that is causing this hapless OP enormous grief. While the necessity to distinguish between "Observed Outcome(s)" and "Potential Outcome(s)" is clear (to me), the definitions and descriptions of Potential Ou... |
In the binary case, the implementation of ROC curve in torchmetrics automatically applies a sigmoid when it detects logit inputs (i.e. when the values of scores are not within [0,1]). I have several problems with this:
Nominally, ROC requires a 1D list of scores, which then gets sorted and thresholded. Applying any mo... |
I'm looking at carrying out inference on the effect of comorboditity, polypharmacy and personal characteristics (age, ethnicitiy etc) on health outcomes such as time on trial and emergency scans/admissions.
I've found some research that combines polyphmarcy and comorbidity into a single variable, the comorbidity polyph... |
A simple example:
If someone says:”Scores in exam A are strongly positively correlated (with statistical significance) with skill B”
Is this the same as saying “Doing well in exam A (say top 90%) is strongly positively correlated with doing well (say top 80%) in skill B”?
Logically, it feels both are not the same: corr... |
I am trying to run a mediation analysis with multiple parallel mediators using the mma() package in R. However, every time I try to run my code below, I am getting an error:
library(mma)
vcsqi <- as.data.frame(vcsqi.dci)
vcsqi <- vcsqi[, c("predmort", "age", "male", "bmi")]
vcsqi <- na.omit(vcsqi)
x = vcsqi
y = vcsqi[... |
This is really 2 questions.
I would like to do a linear multi-regression on a large quantity of data, so large that I cannot really store it (it’s about 1e10 observations across 2500 features). Hence I can only use the covariance matrix and the means for this (which I got after slicing the data). Is there a way to do ... |
I am assessing the performance of a test for a certain disease. I have selected the disease cases and controls from a large dataset that is reasonably representative of the general population.
As I have enriched my test dataset for disease cases, I'm adjusting for prevalence when calculating the PPV of the test, using ... |
Given a d x d array, 1% of which contains the value 1 and all remaining locations contain the value 0. (e.g. a 128 x 128 array would have 164 values equal to 1 and 16220 values equal to 0). What would be a formula and/or proof for determining the minimum number of maxpooling operations with a 3x3 kernel, stride of 2, a... |
I've wanted to ask for some help with multinomial logit models. I'm investigating how the prior probability of song lyrics affects what lyrics we actually hear.
In my experiment there are 30 songs (we take only one line from each song), and each song is an independent trial. On each trial, participants listen to a line... |
I am trying to perform an analysis based on a survey response 'yes' vs 'no'. The response has multiple categories. For example, I am looking at a variable 'mechanism of injury' that has 4 categories, coded as numbers 1-4. I think the problem that I'm running into is that it would be more straightforward if the data was... |
I'm grappling with a statistics problem related to the scaling of error bars, and I'm hoping to gain a clearer understanding.
Scenario:
I'm attempting to measure the spectrum of a sample. For the sake of simplicity, let's say I measure 10 wavelength bins, aiming to detect a specific 'bump' in my spectrum, which corresp... |
What is the best way to model a difference score that is based on cross-sectional survey data, while also taking into account the hierarchical structure of the survey data?
I have the following survey data: Survey respondents from 11 cities were asked how welcoming they perceive the members of their city to be of 1) Im... |
In Chapter 8 of van der Vaart's Asymptotic Statistics, it is shown that (under weak regularity conditions) an estimator can be "superefficient" on at most a set of Lebesgue measure zero (Theorem 8.9). He then considers (in Example 8.12) Stein's shrinkage estimator. Let $X_1, \dots, X_n$ be independent, identically dist... |
The analysis of variance usually requires the assumption of normality. However I always read different approaches on how to test this assumption (between different books but also here) especially in the case of repeated measures anova. Mostly regarding what to check for normality (e.g. dependent variable, residuals) an... |
The original question is here. Suppose we have a DAG in the figure.
If there is no confounder $U$, as chang_trenton point out since $S$ and $W$ happen before $X$, we have
$$
P(Y \mid do(X), S) = P(Y \mid X) = \sum_{W} P(Y \mid do(X), W, S) P(W \mid S).
$$
However, I wonder what would happen if we consider the conf... |
I have a response variable that lies between 0-1 and could include both 0 and 1 and all values in between and is not proportional data. I thought I could sue a binomial distribution for this but I'm not sure that is right. My current model is below. I'm looking to see if two predictors (which are factors) interact with... |
I would like to ask 2 questions: the first, as indicated in the title, concerns how to report the results of the 'negative binomial model'. The second, differently, relates to how to interpret the output of the 'zero-inflated negative binomial' using SPSS.
Question 1) I will describe the concrete case: I want to know w... |
I have created a DAG using daggity, and from this DAG, two variables need to be controlled to evaluate the unbiased total effect of the exposure on the outcome. However, I'm confused about whether I should only include the exposure, outcome, and the two variables that appear to be confounders in my logistic regression ... |
I have a dataset where I counted monkeys in 10 plots and assesses the proportion of 5 different habitat types covering the plot. The sum of the habitats per plot is always 100.
I would like to test whether the abundance of monkeys is higher in plots containing higher/lower proportion of certain habitat but I’m unsure a... |
I have the problem where I want to estimate the quantiles of a distribution by bootstrapping. Fortunately I do know the original DGP which I chose to be an Exp(1/4) distribution and so the theoretical distributions can be determined.
However, I want to implement an estimator for the 25th, 50th and 75th quantiles and us... |
Casella & Berger 2nd ed. stated that $\tag{11.2.2}Y_{ij}=\mu+\tau_i+\epsilon_{ij},\quad i=1,\cdots,k,\quad j=1,\cdots,n_i$
is an overparameterized model such that a constraint on $\tau_i$ should be added such as $\sum_{i=1}^k\tau_i=0$ to make the model identifiable.
I would like to know if an arbitrary constraint such ... |
I have a dataset related to the time taken for vehicles to arrive at their destination, at unevenly spaced points of the journey (on a particular route(s)). For example (made up, but actual dataset has ~1000s of records shared across ~100 trips):
time to dest
distance to dest
trip id
other features ...
5
7
0
.... |
Need to do Q & A on documents containing a check box list like below.
Question: which toppings are selected by a customer?
Answer: Strawberry, M & Ms.
Select optional toppings:
[X] Strawberry
[ ] Chocolate
[X] M & Ms
[ ] Almonds
[ ] Hot Fudge
Would like to know which kind Doc AI models can be used for this case?
|
I have been working with histograms so far. I understand what they show.
I am trying to understand what density plots are. In this tutorial it says
The curve (of the density plot)represents the proportion of the data
in each range, rather than the frequency.
the height of the curve (shows) the proportion of the data t... |
This is a theoretical question, so I don't have data to share.
Let's say I know the percentage of men and women in my population of interest, as well as the distribution of occupations and age categories.
I conduct a survey on a sample from this population, to know their opinion about various topics. I suspect the samp... |
My current design is that for each subject, there are two conditions. For each condition, there are 60 trials with some slight randomization. We measure the subject response (which also binomial) for each trial. Ultimately we want to test the behavioral difference between these two manipulated conditions.
Currently, I ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.