instruction stringlengths 9 38.7k |
|---|
I have 2 large samples from a population of users that checkout from our product offering website and generate certain sales, say r1 and r2. Each sample is from using a different price, say r1=\$20 and r2=\$30. The probability of purchase is of course different from each group. Say the first group has a purchase probab... |
I found this paper very useful for my research, however, I'm not familiar with non-linear regressions and I'm finding it tricky replicating it.
Using the first f=model for example:
HT = 1.3 + a(1-e^-b*DBH)^c
This is what I have through the help of someone
cr.fit = nls(y~a*(1-exp(-b*x))^c,start=list(a=a,b=b,c=c))
summa... |
I have a random effects model with two groups.
$$
y_i = \alpha_{j[i]} + \gamma_{k[i]}+\epsilon_i
$$
Where $j[i]$ and $k[i]$ denotes the group memberships for individual $i$.
In R, I can estimate $\sigma^2_j$ and $\sigma^2_k$ using lme from the nlme package or lmer from lme4. However I'm unable to estimate the covarianc... |
My understanding is that the formula for a confidence interval when using a t-test is as follows:
$\bar x \pm t_{n-1,\alpha / 2} \frac{S_d}{\sqrt{n}}$
where $S_d$ is the standard deviation of the data.
Let me demonstrate an example of a paired t-test in R.
> a <- c(1,2,3,2,3,1,2,3,1)
> b <- c(2,1,3,1,2,3,2,1,1)
> t.tes... |
The median-of-means estimator is often given as an alternative way to, given a sequence of IID random variables $X_1,...,X_N$, estimate the expectation value $\mathbb{E}[X]$ (see e.g. these pdf notes by Yen-Chi Chen, or these slides by Gabor Lugosi).
The basic idea is that, instead of computing $\frac1 N\sum_{i=1}^N X_... |
I am fitting a simple normal distribution in stan through R.
The distribution depends on two parameters, $\mu$ and $\sigma$.
Here the sample code:
library(rstan)
n <- 100
mu <- 4
sigma <- 2
Y <- rnorm(100, mu, sigma)
stan_code <- "
data {
int N;
real y[N];
}
parameters {
real mu;
real sigma;
... |
I want to run a logistic regression on my dataset in R. I want to test the probability of which direction a fish is facing depending on my variables. I am considering using a weighted logistic regression since my data come from a complex survey design where there could be a possible lack of independence. My concerns co... |
I have two sets of translated text. The first set contains poor translations, and the second set includes perfect translations. I asked three evaluators to rate each of the translations. My objective here is twofold. First, I aim to demonstrate agreement among the evaluators using an Intraclass Correlation Coefficient ... |
I study coups d'etat. I would like to understand the relationship between leader/country characteristics and the likelihood of coup attempts.
I have a leader-country-year dataset with one entry for every year that a given leader in a given country was in power. I also have data on leader and country characteristics. So... |
I have some data with a continuous outcome that is measured among 4 categorical variables: treatment group, gender, collection date, and sub_type. Gender is M/F, collection date can just be Mon/Wed, and sub_type is one of A, B, C, D.
There are 10 treatment groups and one control. Treatment groups 1-5 were tested on sub... |
I know that typically, one has a feature matrix of n samples by m features. Let's say I have a matrix X in this format. If I was going to perform hierarchical clustering on the samples, I know I would want to standardize each n-length vector of features so that the distances between each feature are comparable.
If I ... |
By far I've become really familiar with the concept of GARCH but I'm still confused on how to go on with the implementation especially that I've seen multiple sources using different approaches:
Should I: a. Find an arima model using auto.arima , b. check the residuals for heteroscedasticity,
c. fit a GARCH model to r... |
I have the following data and I want to compute the GINI and Accuracy for model validation purposes. But I tried to calculate the GINI and Accuracy using Python code, but it seems incorrect. I would like to compute the AUC, GINI and Accuracy by calculating the cumulative no of borrowers, cumulative no of goods, and cum... |
I am studying Introduction to Statistical Learning Theory by Bousquet, Boucheron and Lugosi. On pages 183 through 185 it considers the applicability of Hoeffding's Inequality to Empirical Risk Minimization (ERM). The setting is as follows.
Let $Z_1,...,Z_n$ be $n$ i.i.d. samples drawn from a distribution. Let $\mathcal... |
The GitHub Repository for this research project has all of the code included in this question.
Brief background context: I am just finishing up the work on my part as a coauthor on a research project exploring the properties of a newly proposed Automated Optimal Variable Selection algorithm. My role is to decide which ... |
I have a simulated a time series data set several predictor variables and response class that I created to practice different analytical techniques before I apply methods to my real (very large) dataset and I'd like to use change point analysis to identify the segments of the data that are consistent and therefore like... |
I came up with a discussion around what does it mean that the sample mean of two distributions are proportional. This discussion started when talking about linear discriminant analysis and how this proportionality may affect to the calculations of the discriminants.
Imagine we have two distributions that are scattered ... |
Can I compare forecasting performance of rolling window VAR and usual forecast of model with ARIMA errors?
Or maybe there is exist better way to compare forecasting performance?
|
In Recursive Partitioning for Heterogeneous Causal Effects by Susan Athey, Guido W. Imbens, under section 2.5 Honest Splitting, two different datasets (called tr and est) are used for (a) creating the tree's split structure and (b) estimating leaf means. The splitting and cross-validation criteria is -EMSE(Π) which con... |
For a study, I ran an RI-CLPM over 4 time points, looking at the bidirectional association between negative social interactions (X) and depression (Y) over these 4 time points, with cross-lagged parameters constrained to be equal across time. Fit was excellent and parameter estimates for my cross-lagged paths suggested... |
I'll caveat this question with that I do not think what I want to do is possible but suggestions in the right direction would be most helpful.
Now my data consists of vectors of length six, where each element is discrete, here are some examples:
[(0, 12, 7, 7, 12, 0),
(11, 16, 2, 2, 16, 11),
(8, 7, 3, 3, 7, 8),
(13,... |
I am trying to understand the difference between running a GEE with robust S.E., vs running a GLM where robust S.E could be calculated posthoc based on the model output. For example, if one considers a binary outcome with grouped data, it seem like it could be modeled using either GEE or conventional GLM, where in both... |
On Exercise 5.14 of Wainwright, it provides a way to estimate maximum singular value of Gaussian random matrices using the one-step discretization bound and Gaussian comparison inequality as shown.
Can we use Dudley Integral to estimate it? Intuitively I thought it works but I didn't work it out since there are too fe... |
I toss a die five times
X = 1, 2, 3, 4, 5. Means there are five throws.
On each throw, we get a number on the die. This means we have 5 values for 5 throws.
Y = 1, 5, 4, 3, 2
On the first throw (X = 1), I get Y = 1 on the die. In the second throw (X = 2), I get a value of Y=5 on the die.
I compute the data proportions ... |
I am calculating Gender Pay gap using gross salaries for employees. I'm doing two things to be specific:
Calculate Overall Gender pay gap for all the employees. (Taking all male/female employees to calculate average salaries)
Calculate Gender Pay gap at each level/grade (Employees divided by Seniority)
I had a questi... |
I'm an AP Statistics student (high school senior) doing a final project investigating the correlation between an "overall score" as the response variable and five different "subscores" as explanatory variables (the overall score is NOT calculated from the subscores; rather, each score is given separately). I'm interest... |
I'm working on a project where we currently take a look at some sort of efficiency measure, where we numerically integrate the area under the efficient frontier up to the current portfolios' volatility and relate that to the total area spanning the difference of the upper and lower boundary of our markowitz bullet. Her... |
Please help me understand the following:
Suppose a tester recorded the quantity $Y=X_1+\cdots X_n$ where $X_i$ has a Poisson distribution with mean $\theta$.
Now, the tester lost all samples $X_i$ and want to create fake observations $Z_i\cdots Z_n$. The tester knows that $$
P(\mathbf Z|Y)=\frac{P(\mathbf Z,Y)}{P(Y)}
... |
I've analysed the unpaired survey responses using the Mann-Whitney U test and several questions show a change after treatment at p < 0.05. However I would now like to characterise the influence of a binary demographic variable (captured in the survey) on the results. Is it acceptable to split the survey results by the ... |
I'm new to statistics and I'm struggling to grasp the distinction between an independent and a dependent variable. For instance, if I want to examine the correlation between daily COVID-related deaths and the number of Facebook posts made on the same day, I believe that the number of daily deaths should be my independe... |
I'm struggling to understand what likelihood free means in ABC, since ABC is using a model as simulator to produce $y_{simulated}$. However, to me is not clear the difference between model/simulator and model/likelihood function (I had a look here too).
So, if I got that right (please correct me otherwise) below are th... |
I am struggeling to see where this problem fits - i.e. what topics this problem relates to, so I am not able to find the right literature. I want to use some particular information as a prior to a model.
In general I want to say something about the distribution of $\theta$ given that I know that $C\cdot \theta \sim \ma... |
I have the following equation:
$C_i = \frac{EF_eS_i\delta_wW_j(\frac{t_i}{t_j})^m(\frac{v_i}{v_j})^n\alpha_w\gamma_f}{dwtD_i}$
where $S_i = S_{base}(.455L_i^2-.710L_i+1.280)$
And $L_i = \frac{v_i}{v_j}$
This is a simplified description of a ship's ($i$) carbon intensity for each hour at sea during a voyage. I have data... |
Edited;
Ive troede to specify my problem. Hope it makes more sense.
Im a surgeon doing research. I use SPSS for statistics but in the group we are also able to use 'R'.
We are performing af study investigating the development of complications after surgery and their relation to frailty. We are interested in number of c... |
My project model includes one input variable, two mediators (both measured at the individual level, but one is about the team so rWG will be calculated), one moderator, and two outcome variables (again, both measured at the individual level, but one is about the team so rWG will be calculated). It will be a pre-post de... |
After running glmnet I can get a pseudo R-squared with glmnet.fit$dev.ratio. Does this take into account the complexity of the model? In other words, is dev.ratioequivalent to R-squared or adjusted R-squared?
|
I am currently modellingusing the 'mgcv' package in R. My response variable is called log.tr, representing the log of residence time. My data looks a little bit like this:
set.seed(123)
logtr <- seq(0.67, 4.29, length.out = 100)
day_ <- sample(1:365, 100, replace = TRUE) # Random day values
year_ <- sample(2000:2020, ... |
The notion of an individual's "true probability" or "true risk" of a certain outcome $Y$ is contested [1, 2, 3]. Nevertheless, it is often discussed and useful for certain kinds of analyses. However, all the works I can find only describe this quantity in words and do not define it mathematically.
How could one define ... |
So I have a dataset that consists of the batch correction through RUV-normalization of several microarray datasets containing tumoral and non-tumoral samples. The data is in Log2 RUV-normalized expression. I want to perform differential expression analysis. Is the limma package in R fit for this? From what I've read th... |
The data i created contains heteroscedasticity. I already calculated the power so my idea was to basically do the same but switch the hypothesis so that H0: Heteroscedasticity and H1: Homoscedasticity and then count how many times the new H0 is rejected. But this is not possible in the bptest() feature i use in the lm-... |
I am conducting a research and investigate the relationship between persona type (independent variable; a vs. b vs. c vs. d) and luxury perfume choice (dependent variable; niche vs prestige)(H1), moderated by brand prominence (loud vs quiet) (H2).
At the start of the questionnaire each participant assigned a specific P... |
What is the formula to calculate the probability of getting 41 when I throw two 10-sided dice and four 8-sided dice? I’m looking for an algorithm for the general case of throwing multiples of two sets of differently-faced dice.
Code if same number of faces
Here is some Typescript based on the Python code here that give... |
I have this DAG
As I understand it, the paths D <- Ed -> St -> P -> Su and D <- A -> P -> Su are both closed because the contain the collider P. If I condition on P, both these paths will be open.
But that doesn't seem to be the case according to dagitty:
library(dagitty)
d = dagitty('dag {
A -> D
A -> P
D -> Em
D ->... |
Given a set of 128x128 images from three classes, I obtained an accuracy of 50% with a SVM on the flattened images (16384 'features').
Is this an upper bound on the performance of a SVM using any features extracted from the images?
|
In the case where the curves (functions) are defined on a time interval.
|
I am currently aiming to find any statistical difference between site fidelity for four shark species between sex and sample site. This uses a mark-recapture method and thus the data is heavily zero inflated for sharks that were not recaptured. Since the values for site fidelity are not integers I am unable to fit a ze... |
I am modelling values that are rates, strictly positive, using a Gamma GLM and or GLMM (here using glmer in lme4) to do so, with a log link. Assume that I have a GLMM model that is of the form
glmer(rate~(1|location)+(1|year),data=data,family=Gamma(link="log"))
where both factors , location and year are random effects.... |
I am using statsmodels.tsa.stattools.acf to calculate the lagged autocorrelation of innovations in Kalman filter with alpha=0.05. Innovation is defined as observation - observed equivalent of model forecast. And I want to calculate the lagged autocorrelation of the time series of innovations, to see whether autocorrela... |
This simulation study is taken from this [article] (https://pubmed.ncbi.nlm.nih.gov/35574725/). I am trying to generate this simulation
Theoretical Set up
Define the set of true basis functions,
\begin{align*}
\psi_{1}(t)= \sqrt{2} \cos\left(2 \pi t \right)\\
\psi_{2}(t)= \sqrt{2} \sin\left(4 \pi t \right)\\
\ps... |
When fitting a simple MLP neural net on the Credit dataset by the package neuralnet in R and then plotting it, we get an error reported at the bottom of the plot, as here:
library(ISLR2)
library(neuralnet)
data(Credit)
set.seed(1)
nn <- neuralnet(Balance ~ Income + Limit + Rating + Cards + Age + Education, data = Credi... |
I am under the impression that:
$E_{Y|X}[Y] = E_{Y|X}[Y|X] = \int y f_{y|X}(y|X) dy$
And by extension:
$f_{y|X}(y) = f_{y|X}(y|X)$
Please correct me if I am wrong. Thank you! I understand that notation like this is dependent on whatever the author intends, so I am mostly hoping to ask for what convention you have all s... |
In an experiment Subjects decide as fast as possible whether letter strings presented on screen are real Words or non-words and reaction time (RT) in milliseconds is recorded. We want to know for correct Word decisions, if Word Frequency (how often the word appears in books) affects reaction time (the answer is yes, a ... |
Background
Hi all, I need some clarification on my approach if it's correct or not. I have a matrix (M_ij) with user ratings of images. The users (i) are on the horizontal axis and the images (j) are on the vertical axis. The cell ij has the ratings given by the user. These ratings are on a discrete scale from (1-5). T... |
I have a set of data X containing members xi (these are pixel values). I need to calculate the median and MAD of f(X), where f is a color space transform from linear RGB to sRGB (i.e. f(x) = x^(1/2.2)).
For reasons of computing speed I would strongly prefer not to have to calculate f(xi) for all xi as the images can be... |
I'm doing a cross-lagged panel modeling for three time points. For one specific construct of interest, I have three items that were used for across three time points, but the number of items used for the first two time points differs: 3-point likert scale for the first two time points (yes/agree, not sure, no/disagree)... |
I am performing a quasibinomial regression, where each subject has an unfixed number of trials. So one subject may have had 5 trials while another had 90. In R the regression equation follows:
glm(success_percent ~ x1 + x2 +..., data = data, family=quasibinomial, weights=trials)
I am unfamiliar with how a glm handles t... |
I have a list/database with short lines of text. Maybe one million such lines. Every line 10-60 characters. I need to categorize them, in the simplest case there would be just two categories, e.g.: "interesting" and "not interesting/spam".
Example
short text
category
call me asap
interesting
ahahaha
spam
..... |
In my model, in which I'm attempting to infer which covariates affect whether a fish has an empty stomach or not (1=empty, 0=not empty), I decided to grand-mean center the variable "SL" (standard length) so that the intercept would make more sense (instead of when SL=0). However, I'm not sure how to interpret the inter... |
I am looking to determine if three raters have statistically different observations of the same data, which is continuous.
For example, if the diameters of heart, X, for 20 patients were measured under 3 different techniques, X1, X2 and X3.
Since those 3 different techniques measures the same set of subjects, which is ... |
I'm running a cross-lagged panel model analysis in Mplus. The cross-lagged path coefficients were constrained to be equal across time. Now, I'd like to test if the cross-lagged path from MSC to MA and the cross-lagged path from MA to MSC are statistically significantly different (i.e., (6) vs. (7) in the syntax below).... |
I have two questions in general here. Suppose I am recording data in time and the response that I am collecting is a monotonic curve that goes from 0 to 1 (sort of a like a CDF). I was thinking of modeling the data as such but when I think of it from the regression framework it is like a modeling a nonlinear function, ... |
Consider a set of 3D points $X = \{x_1, x_2, ...x_n\} $ with $ x_i\in\mathbb{R}^3$ on which we want to fit an arbitrary probability distribution. The distribution we want to fit models some geometrical shape, like a sphere, a torus or a cylinder, but in principle this detail is irrelevant for my question. Just assume w... |
I am confused by the following page in Geostatistics for
Environmental Scientists, Webster & Oliver:
My understanding
Given locations specified by a vector $\mathbf{x}$, we assume an underlying distribution $Z(\mathbf{x})$ behind each observation. To obtain the given covariance function (4.10), we have assumed second ... |
The intervention: before each new appointment with a student the guidance counsellor is reminded to consult with the student about proper information on contraceptives.
The control group measures how often the guidance counsellor consults with students about contraceptives without any reminders.
I was going to do tests... |
A typical laboratory in my region may give a result to e.g. the C-reactive protein (CRP) blood test in the following way (I'll omit the units here):
if the result is under <10, they'll give the result as "<10"
in all other cases, they'll give a (continuous) numeric answer
Let's say I want to treat that variable (CRP)... |
There is a "traditional" biomarker (binary predictor) used in the diagnosis of a disease (binary outcome) that has a high cost to perform for the clinical labs. I'm studying alternatives, which are all analyte measurements (continuous predictors).
How can I compare the two? (as in, can we replace the binary predictor w... |
I would like to estimate the joint probability of two variables from two different surveys conditional on other variables that the two surveys have in common.
As an example I'm using data from this speed dating experiment [1] and the US Census microdata from 2004 [2].
Here is some code to illustrate:
import pandas as p... |
I am trying to prove some ideas about the identifiability of covariance function parameters for small samples. From various numerical experiments, it seems that the graphs of two matern covariance functions with different parameters (we may assume $\sigma^2=1$ for both) will intersect at most once on $\mathbb{R}^+$.
An... |
I am part of a study where we are trying to understand the effect of social interaction on weight loss. The idea is to have two sets of Groups. In Group 1 there are group of people joining as a family or related individuals(friends etc.), who take part in weight loss program and asked to socially interact and take part... |
I want to find out a solution to the following question: "Is there is any impact of social media on the creation of entrepreneurial opportunity for rural women?"
I have 2 groups: Online based business & traditional business. A 5-point Likert scale has been used to have their opinions evaluated.
My variables are:
Entre... |
In a 3 (condition) X 2 (time) mixed model ANOVA. If I hypothesised that anxiety in group A will increase from time 1 to time 2 and my results found no significant interaction but a significant main condition and time effect can I accept the hypothesis or not?
In addition, if main effect of time showed paranoia increase... |
Objective:
Report summary statistics for each treatment x timepoint x condition sub-grouping when there is unequal sampling and repeated observations per subject. It is assumed that all the subjects come from the same population.
I think I want to use this pooled standard deviation formula for spread, but am uncertain:... |
Consider the following process for generating a random sample:
Sample $X_1, X_2, \dots, X_n \sim \mathcal{N}(0,1)$
Compute $M = \max\limits_i |X_i|$
Scale the values to get $Z_i = X_i / M$
Can we say anything about the convergence of distribution of $Z_i$ as $n\to\infty$?
The $Z_i$s are clearly identically distribute... |
I am trying to determine what procedure should I use to feature engineer the most descriptive possible dataset to predict a binary outcome. The dataset has variables that are count-valued with different max values, and continuous variables.
I know I can standardize or normalize the continuous variables, and the ones in... |
As specified here on the NIST website, the 3rd assumption for the K-S test is "... the distribution must be fully specified. That is, if location, scale, and shape parameters are estimated from the data, the critical region of the K-S test is no longer valid. It typically must be determined by simulation". With that as... |
From my understanding a large value of the C parameter in SVM decreases the number of misclassified instances and narrows the margin. My question is - considering that SVM with linear kernel is used, with soft margin - does increasing the value of C always guarantees that the margin is not getting bigger or there is a ... |
I dug through previous simple slope/effect questions and couldn't find what I was looking for, but happy to be pointed to it if it exists.
On p. 17 of Jaccard and Turrisi (2003), they offer the following basic example of a regression equation with a single interaction term:
$Y= a + β_1X+β_2Z+β_3XZ+ε$
They explain how t... |
When changing the model to a more sophisticated do we ALWAYS need to change the design experiment and/or collecting more data?
For example, after fitting a multiple linear model to the data, I checked the model fit by plotting the ordinary residuals (the residuals without normalization) vs. the fitted values and found ... |
I have a conceptual question to ask that may come off dumb, but I'm just trying to see if I understand A/B testing properly as I've only studied it but not worked much in practice.
Let's say we are running an A/B test on ads on some mobile app on a homepage. This experiment tests some UI change, and we are concerned wi... |
I was reading Yarin gal's Phd thesis regarding the use of dropout as a technique to turn a neural network in a bayesian neural network.
at page 32 of the pdf (18 for the thesis) he writes that the probability distribution for the output $y^* $ for a new input point $x^*$ can be obtained by integrating over the space... |
I am currently working on my master thesis. I have determined a simulation model for tax returns and to verify this I would like to use true values.
I would like to determine the correlation between my simulated and true values. However, the problem is that I have simulated zero values for some years and the true value... |
I'm working with a dataset in which each row is an event with a number of categorical properties, most of which are also nominal. Each of these properties has around 5-10 possible values, but some columns can have more then 200. There is a column which denotes if an event had a positive, negative or neutral outcome and... |
I have a set of documents like a list of memory register information, a list of pinout information and so on, for different types of equipments that are installed in different facilities.
Each facility may have 5 equipments of different types.
It sums up 60 facilities in total and so far I have created one set of these... |
I noticed that if you have a simple mediation model X -> M -> Y where all three variables are latent, AMOS doesn't complain and I can have a good fit, well-identified model.
However, when I replace X with an observed variable, the model becomes unidentified and I am required to add one constraint.
Among all the things ... |
A validation report of an analytical method (to determine the assay of a product) is given and the goal is to try to determinate the overall uncertainty of it. I started with calculating the standard error of the precision of the method. The precision can be usually decomposed in three parts: the intermediate precision... |
I have data with income information provided in grouped, income ranges.
However, for my research purpose, I want to estimate a continuous distribution, in other words from the shares of each income-range, I then want to derive a possible underlying continuous distribution. For this purpose, I was thinking to fit a gene... |
I have a dataset with two columns; one is the total time played by a player on a gaming console and the other is the time played online which will always be less than or equal to the total time played by the player. The data looks like the following
I was asked to take the mean by dividing the sum of online playtime h... |
I just had a quick question about the CIA, conditional unconfoundedness and secelction on observables only. Do these three terms mean the exact same thing or are there differences between the three?
|
I'm reading:
Clauset, A., Newman, M.E.J., Moore, C., 2004. Finding community structure in very large networks. Phys. Rev. E 70, 066111. https://doi.org/10.1103/PhysRevE.70.066111
There is written that in an (what I think is undirected, but I might be wrong) network,
The probability of an edge existing between vertices... |
I have a problem statement where I have two dataset one labeled where a data point can belong to only one class say class1 or class2 and there's another unlabeled dataset. Now for unlabeled dataset I want to predict the class label where a particular data point can belong to class1 or class2 or both or none of the clas... |
I'm conducting regression analysis using R of the ability of several hundred proteins (and other covariates) to predict ventricle volume in a human sample. As is common in GWAS/PWAS research, I plotted the expected vs. observed p values of each protein to check their overall distribution. As the plot below shows, there... |
Firstly, my apologies for the basic nature of this question. I am numerate but stats has always befuddled me. I have had a look through earlier questions.
I have installed a red mason bee box. It has 174 tubes of 3 different types - sleeved 87, empty 44 and plugged 43. Currently the occupied tubes number, sleeved 7, em... |
Proper scoring rule is a concept used for evaluating density forecasts. What would be an equivalent for evaluating point forecasts? E.g. mean squared error seems like a proper metric for evaluating forecasts that target the expected value of the underlying random variable. This is because the forecast that truly minimi... |
I'm developing a GNN for missing links prediction following this blog post for PyG library. I'm using almost the same GNN with a different dataset. Altough my dataset is similar to the MovieLens example (a bi-partite graph with some links and some missing links, with different features), I want to develop a more precis... |
When I run a logistic regression using sm.Logit (from the statsmodel library), part of the result looks like this:
The variable y is academic success (average greater than 10). The problem is that I am lost in front of this table (there is only the beginning), I do not know how to interpret the results. In the coef co... |
In an experiment I repeat some task $n$ times and count how often the task completes successfully. This gives the number $m$. Therefore the success ratio is
$$
r = \frac{m}{n}
$$
To calculate the error I just would use
$$
\Delta r = \frac{\Delta m}{n} = \frac{\sqrt{m}}{n}
$$
but then when I have for example $n=10$ tria... |
I have two types of 3d scan datasets over 200 forest plots. One type of data have higher resolution (more detailed information on the landscape) than the other. I derived 10 forest metrics from these dataset such as height, volume, crown cover and etc. I also have field data of animal abundance and species richness in ... |
Under the generate_weights() command using the {tidysynth} package for executing the synthetic control method in R, users are given a number of optimization options. However, I cannot find documentation on what these optimization options do as {tidysynth} is no longer supported on CRAN (if anyone knows why, I would als... |
I am currently reading Mixed Effects Models for Complex Data by Lang Wu. On page 136, the author mentions the Monte Carlo EM algorithm as a way of treating missing covariate in the mixed effect model.
Say we have ($\mathbf{y}_i, \mathbf{z}_i, \mathbf{b}_i$) as complete data for $i = 1,..., n$ where $\mathbf{b}_i$ are r... |
Let's say I have a univariate (no intercept, for simplicity) regression with normally distributed errors,
$$y_i = \beta x_i + e_i, \text{ where }e_i \sim N(0,\sigma^2),$$
And I would like to find MLE estimators of $\beta$ and $\sigma$. Writing down the likelihood, we get
$$L(y|x, \beta, \sigma) = \prod_{i=1}^N \frac{1}... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.