instruction stringlengths 9 38.7k |
|---|
In reference to this question: interpreting level-log model that has a percentage variable
If I have a regression equation: child_test_score = 400 + 25log(family_income)
Is this the correct interpretation:
A one percent increase in family_income is expected to increase child_test_score by 0.25 percentage points?
or
A o... |
Let us assume we have a magical 1D line of length 1 cm. And we have an unbiased coin. There are points on the line, where the probability of getting head is high. Example: if the coin lands on 0.5 cm, then it has high probability of getting head.
Initial idea: Discretize the line into intervals (say 10). Then we have 1... |
Is there a clear and precise explanation of why minimising the variance of the weights in SIS with respect to a proposal ensures that the samples generated from the empirical distribution induced by the normalised weights will be closer to the posterior/target distribution? Also is there a reference which proves someth... |
I have a small data set and I have missing values and decided to use multiple imputation technique
id <- mice(df, m=5)
analysis <- with(id, lm(a ~ b + c + d))
summary(pool(analysis))
In my model with the missing values the assumptions (normality, linearity, homoscedasticity) are violated how can I check these assumpti... |
I am learning the multi-fidelity modeling and have a question about Emukit's mixed_noise parameters, or more general, how should we determine the noise when the training data are simulation results, which can be assumed to be exact/noise-free according to the book Gaussian processes for machine learning.
In Emukit's tu... |
In a binary pairwise MRF, the joint distribution is as follows:
\begin{align}
p(x\mid\theta) & = \exp\left(\sum_{s \in N} \theta_s x_s + \sum_{(s,t) \in E} \theta_{st} x_s x_t - \Phi(\theta)\right) \\ \Phi(\theta) & = \log\left(\sum_{x}\exp\left( \sum_{s \in N} \theta_s x_s + \sum_{(s,t) \in E} \theta_{st} x_s x_t \rig... |
I am trying to get the values for True Positives, False negatives, false positives, and true negatives for my confusion matrix when I run the k-nearest algorithm in Matlab. However, when I calculate them, the values do not add up to the total sum of the elements for the confusion matrix which is 500. Also, my true nega... |
I'm trying to measure the effect of the included IVs on an individual's self-esteem (binary:positive/negative). This is panel data across three waves. I am running an LPM FE model. I'm not sure I understand the 2WFE model entirely. So do the results I have come under the assumption that time and individual effects are ... |
I want to assess a specific type of event's impact on a business's revenue. For example, receiving first press coverage, etc.
I am thinking about interrupted time series analysis but I'm not sure how to use it for many time series--I have data for many businesses so it is more like panel data. Are there any packages or... |
I am interested in peak models that are observed in instrumental analysis. The term "generalized" is commonly used in the context of statistical distributions, referring to a class of distributions that are based on a particular distribution, but are modified to include additional parameters or changes to its shape or ... |
Say I want to predict continuous Y with continuous X and dichotomous D1 and D2 with a multiple linear regression model. The hypothesis is that X negatively predicts Y on one level of D1 (the control level), and the negative predictive power should reduce on the other level of D1 (the treatment level). These effects sho... |
I am new to statistical modelling and I need some help with Bayesian model averaging.
I have 3 models and I would like to derive a BMA of these models.
I am using the BIC estimate for the different models and a uniform prior probability of 0.33.
Model 1, BIC= 4420
Model 2, BIC= 3940
Model 3, BIC = 4325
I am stuck tryin... |
I am using the R programming language. I want to manually fit the D-vine copula for tree level 2 using BiCopHfunc(). Still, I got a different result (optimal parameter and copula families) when using RVineStructureSelect(), which gives an optimal parameter and copula families output. Could someone please provide the R ... |
I am familiar with the dual form of the soft margin SVM when there is only one parameter $C,$ but I cannot find the dual form of the class-weighted soft margin SVM which has the following objective with parameters $C_1$ and $C_2$:
$$\frac12\Vert w\Vert^2 +C_1\sum_{\xi_i:y_i=-1}^l\xi_i +C_2\sum_{\xi_i:y_i=1}^l\xi_i$$
Ca... |
Notation:
$\mu$: true population parameter to be estimated
$T_i$: mutually independent unbiased estimators of $\mu$
$Var(T_i)$ = $\sigma_i$
$T = a + \sum_i^n b_iT_i$
$a$, $b_i$ $\in \mathbb{R}$
Question:
Conditions on $a$ & $b_i$ for T to be an unbiased estimator of $\mu$
Attempt:
Say T is an unbiased estimator of $m... |
Is it possible to generate a projection matrix from Quadratic Discriminant Analysis, as Linear Discriminant Analysis does?
I have found a library called mataveid that can do Linear Discriminant Analysis (and much more) and I notice that at the end of the code, the projection matrix W is multiplied with the data X and g... |
I'm new to Bayesian analysis. My predictor is a logarithmically increasing variable (10, 100, 1000..) and the outcome is a categorical variable which indicates correct/incorrect. I need to analyze this data using Bayesian analysis.
What have I done?
I have analyzed this data using a general linear model (GLM). I can se... |
I’m looking at CausalPy documentation and the algorithm of interest ir Difference in Differences. I see that they build two different models.
In general, how should one select the features and/or interactions to condition on in a DiD model?
https://causalpy.readthedocs.io/en/latest/notebooks/did_pymc_banks.html
|
I was wondering when you use ADF method for unit root testing, if variables are stationary at 10% level, p-value just over .05. How can one be more confident that it is sationary, could you for example use a test for autocorrelation in residuals of the adf equation to make sure error terrm is white noise? exp. breusch ... |
I am a statistical noobie and I will need to do some testing of the hypotheses of child patients but I am not sure which tests should be performed and how.
I have measures of different metrics per each child on day 1 at a few particular hours and then other measures on the second day of the same patients at the same ho... |
I learned how to get the embedding features from wav2vec from this question but I have some questions.
What is the difference between using those fixed embedding features
in a downstream task and fine-tuning the model? I know that I can
use the fixed embedding features with text(for example: BERT) but
Does the same th... |
In transformer network (Vaswani et al., 2017), the feedforward networks have equation:
$\mathrm{FNN}(x) = \max(0, xW_1 + b_1) W_2 + b_2$
where $x \in \mathbb{R}^{n \times d_\mathrm{model}}$, $W_1 \in\mathbb{R}^{d_\mathrm{model} \times d_{ff}}$, $W_2 \in\mathbb{R}^{d_{ff} \times d_\mathrm{model}}$. We know that the bias... |
The sign of the partial correlation coefficient is consistent with the sign of the corresponding estimated parameter. For example, in the estimated regression equation $\widehat{Y}=\hat{b}_{0}+\hat{b}_{1} X_{1}+\hat{b}_{2} X_{2}$, the sign of $r_{YX_{1}\cdot X_{2}} $ is consistent with the sign of $\hat{b}_{1}$, and th... |
I have the following R code, I am fitting a VAR(10) models to a bivariate time series, comprising two variables, gaz and nuc. Yet, when trying to forecast, I had negative values, whereas my series is the nuclear electricity production and the total imports of gaz by France, from november 2003 to november 2022. So negat... |
what's the correct way to quantify the loss of information we have when we approximate the likelihood from multivariate normal distribution with a full covariance matrix to a product of univariate Gaussian pdf ? I am doing some Bayesian inference and i am comparing the results i get when i use the multivariate d... |
I have a data set that is analogous to a survival analysis dataset.
I have experimental animals, and these animals are modelled as having two states where the second state is absorbing. i.e. Each individual will only transition once, and when it reaches state 2, it stays there. The individual may also opt to never e... |
I have a data concerning the number of posts about certain hashtag on Instagram by influencers and not influencers per hour. The time period is one week, the dataset looks like this:
Hours
2 PM
3 PM
4 PM
5 PM
6 PM
7 PM
Influencers
8
15
10
20
13
25
Not influencers
38
58
30
28
49
75
I want to perform some s... |
I have fitted a VAR model to first-differenced financial data, and conducted a Granger-Causality test on stationary data. The results can be seen below:
The above results show that only one variable seems to Granger-Cause the price return of gold, highlighted in green. However, there are many other variables that are ... |
If log variable have a unit root, can you then difference it?
For ARDL model variables should not be I(2) or more. Variables of log form are I(2). Would it be a problem to difference it.
What I am asking is:
is it the varibales included in the actual model that need to be I(0) or I(1). so that it does not matter if the... |
I've constructed a Bayesian Generalized Difference in Differences model. I model an intercept as well as three coefficients; one for treatment_group assignment, one for post-start period, and one for the interaction of treatment_group assignment and post_start period (aka exposure.)
First, I'd like to validate that I'v... |
I am currently looking into the correlation between academic freedom (my independant variable) and university rankings (my dependant variable) using OLS.
I find a negative significant correlation, but since I only have one dependant variable, this results suffers from omitted variable bias. In order to take this into a... |
I am reading chapter 10 of the Handbook of Markov Chain Monte Carlo (Chapman and Hall/CRC, 2011), by James P. Hobert on the Data Augmentation algorithm, which honestly just looks like a Gibbs sampler to me.
In section 10.2.4 (page 268) on the Central Limit Theorem, they calculate the covariance between $X_1$ and $X_0$,... |
Given that $X_1, \ldots, X_n$ are conditionally independent and identically distributed random variables and that, given a value of $\theta$, $X_i \mid \theta \sim \operatorname{Bernoulli}(\theta), i = 1, \ldots, n$. given that
$$r(i) = \mathbb{P}(X_i = 1 \mid X_1, \ldots, X_{i-1} = 1)$$
How do I prove that $r(i)$ is a... |
I'm aware of the issues underlying using PCA to feature select (https://blog.kxy.ai/5-reasons-you-should-never-use-pca-for-feature-selection/) and (https://towardsdatascience.com/pca-is-not-feature-selection-3344fb764ae6). However, I need to consider potential alternative methods of feature selection rather than just l... |
I am having data gathered from a longitudinal study, where each participant answered multiple questionaires per day. What I would like to do is a simple hypothesis test (something like a Welch's t-test) to test if the average answers (numerical value) given by different groups (e.g. male vs. female; student vs. workers... |
Problem Statement
Let's say I have multiple solved OLS regressions of the form $Y \sim X_1$, $Y \sim X_2$, ..., $Y \sim X_n$
I want to find which best two combined are the best predictors combined, using MSE as the measure of prediction quality. Such that $Y \sim X_i + X_j$ yields the lowest MSE for all $i, j \in [1,n]... |
I am trying to compare the asset price forecasting abilities of SSMs with ARIMA and VAR models. To keep it brief, this is the plan that I am following:
Collect multivariate data
Perform ADF stationarity test on the data, apply differencing where needed
Estimate a VAR model on the differenced data
Perform Granger causa... |
I have numerical process that generates percentiles values of a certain random variable $X$, meaning that I have $x_i$ values and their corresponding probability values $\hat{F}(x_i)$.
I want to fit a smooth non-parametric distribution function to these data and I'm looking for a function or package in R, Matlab or Pyt... |
I am simulating the revenues of a portfolio of items using one input variable. This variable is randomly extracted from a normal distribution n times, where n is the number of Monte Carlo simulations. Revenues is the output parameter and they indeed depend on this random variable.
I know that, in general, as per the C... |
I am searching for some studies to evaluate the effect of drug x use among patients using drug y.
One study reports the odds ratio for the concurrent use of both drugs.
Can I assume it is the same as the odds ratio for drug x use with drug y as the independent variable?
|
I want to apply ARIMAX model on Google trends. I used python package to get daily data. However, this data contains a lot of zeros, so if I do first difference of logs, I see a lot of (inf) in python.
How I can solve that? Better some way to apply to single keyword search, but if there is a fast way to make weighted in... |
I have a log likelihood that looks like the following.
$$ \log(p(Z|\Theta)) = -\sum_{p = 1}^{N} \left[ L \log\left(\pi\left(A F(p, \Theta) + \sigma_n^2\right) \right) + \frac{\sum_{l = 1}^{L} Z_l(p) }{A F(p, \Theta) + \sigma_n^2} \right] $$
It comes from an exponential distribution. The observations are $Z_l(p)$ and $... |
My instructor in a recorded online data science learning platform described MSE as equal to RSE squared. After reviewing the formulas for MSE and RSE, however, I don't understand how or when this might be true. The formulas are:
$\text{RSE} = \sqrt{\dfrac{\text{SSE}}{n-p-1}}$
$\text{MSE} = \dfrac{\text{SSE}}{n}$
If RSE... |
As far as I know, one of the main advantages of using RNN is to learn sequences of texts from the (textual) data set. If I am correct, this is intuitive to understand when RNN is applied to a task such as text generation (e.g. predicting next words, building Q&A bot, text summarization). I've seen a lot of blog posts a... |
I have a question about the Error propagation in RMS.
My surface profilometer has P-V error with 100 nm (It follows gaussian distribution).
And I investigate the z-axis positions of the object surface with many points (more than 10000 data points).
Now, I want to caculation the RMS error of the object surface.
RMS = SQ... |
I have a question about the Error propagation in RMS.
My surface profilometer has P-V error with 100 nm (It follows gaussian distribution).
And I investigate the z-axis positions of the object surface with many points (more than 10000 data points).
Now, I want to caculation the RMS error of the object surface.
RMS = S... |
I am trying to build a machine learning model for spatiotemporal data. My predictors are all monthly climate variables, and as such display spatial autocorrelation. The target dataset however has relatively low spatial autocorrelation (it is quite noisy). What is the procedure for a robust estimate? One method I have s... |
A fair die is rolled till $1$ is observed. Let $X$ be the number of rolls and $Y$ be the number of $6$ obtained in these $X$ rolls. Find (a) $E[Y|X=x]$, (b) $E[Y]$.
My Solution:
Once we are given that $X=x$ then we know that the 1st $1$ was obtained in the $x^{th}$ roll and in the first $x-1$ rolls $1$ never appeared a... |
The separator function in SVM is:
$f(\mathbf{x})=\sum\limits_{\mathbf{x_i} \in Support}\alpha_i\times K(\mathbf{x}, \mathbf{x_i})-b$
Depending on the kernel, this may correspond to adding any number of attributes to the original problem. However, there are only as many weights $\alpha_i$ as there are support vectors. H... |
suppose to have the following situation:
you have a total number of deaths equal to 120. Of them, 20 individuals had cancer. The ratio is 20/120 = 0.16. The total individuals with cancer was 320. How can you relate 0.16 (i.e., the ratio) to the size 320 of all patients with cancer?
Thank you in advance
|
Do caret 'creates' automatically the dummies for Random Forest and Gradient Boosting models, or do I have to do it previously with dummyVars()?
When I predict with the model, does caret handle the dummies in the predict data, too?
Thanks! :)
|
I understand the close analogy between a fuzzy RDD and Instrumental Variables estimation. This is clearest in the Wald Estimator. Here is the Fuzzy RDD equation:
And here is the (manual) estimation using IV:
My question is: when implementing an RD on Stata, using rdrobust, and choosing a linear function (i.e. polynom... |
I have some time-to-event data with right-censoring.
Details Added: Each subject is followed up until first event (no recurrent events) or loss to follow-up. Let's assume there are no competing risks.
Given that rates are constant (and other Poisson assumptions hold), and censoring is non-informative, am I correct in t... |
So, I am testing a theory, proposed in the literature, and I want to do a multigroup analysis on it. One of the HOCs(reflective) of the model has three LOCs(all reflective); when I run the tests on the model I cannot reach compositional invariance(smart PLS); however, when I remove the LOCs and just make it a first ord... |
I am new to machine learning, I am trying to find a way to predict voltage waveforms into the future. I have seen examples that successfully predict sinusoids or continuous voltage data based on timeseries. (following the same idea)
My data set looks like this:
Each sequence maps one discharge cycle of a specific sen... |
I'm trying to conduct a SIMPER analysis in PRIMER. I'm wanting to do the analysis using a factor that is made up of the interaction between 2 other factors, with one nested in a third.
I'm looking at the response of invertebrates after fire across time and at multiple sites. So the factor is timeXsite(impact) where sit... |
Suppose I use R and the ggsurvplot() function to draw three survival curves like this:
The ggsurvplot() then returns a single p value. From what I've read this p value is derived from the score test of the null hypothesis that there are no differences at all between the three survival curves in a cox model.
How can in... |
I've fitted my data to a glm with a gamma distribution (as this is the most appropriate for the type of data) using the glm() function in R. I used the summary() function to test and get p values. I've received comments back from a publication submission which wants more details on the specific test that this does. I c... |
I try to solve a problem (number 7.7) in the 6-th edition of the book 'Statistical Quality Control, a modern introduction' of Douglas Montgomery. Here is the statement:
A control chart indicates that the current process fraction nonconforming is 0.02. If fifty items are inspected each day, what is the probability of de... |
I know this has been asked a lot but I have checked everything and still don't understand. To start, I have a dataset of global temperatures averaged over years. There is a trend in the series and I use pmdarima ndiffs to give me the number of differencing. I use pmdarima auto_arima to get the model with the lowest aic... |
I have repeated measures (two assessments) of an independent variable (binomial/two different groups) but dependent variables (continous) measured at only one assessment - what analysis approach would be appropriate? I checked if there are significant differences regarding those variables between the groups. I also did... |
I am trying to generate labor standards (the amount of productivity per hour an employee should be accomplishing) based off of historical data volumes. I do not have the start and end time that a specific task was completed or started. I do however have various dimensions related to these tasks. An example would be for... |
I am currently working on a binary classification problem using imbalanced data. The algorithm that I am using is random forest. The problem is about predicting whether each sales project will meet its target or not.
For example, a sales manager could have multiple sales project running under him. We need ML to predict... |
I have a Gibbs sampler that updates a system of $n$ variables $(x_1,\ldots,x_n)$ by each of the full conditional distributions. Let's say that I add a $n+1^{th}$ step: I also update $v^T(x_1,\ldots,x_n)$, with $v\in R^n$. Since I update following the full conditional of $v^T(x_1,\ldots,x_n)$, either by direct sampling ... |
I have a large model in r like:
sales = ai+ x1 + x2 + x3 + x4 +(x1x4) + (x2x4) + (x3*x4), where x4 is a dummy for a certain interventoin. As a result, i wanted to analyse the effect of x1,x2,x3 during intervention and without intervention. One problem i experience is multicollinearity.
I thought about makeing 2 seperat... |
I am presented with this problem: given a set of points (the number can vary, and their identity is not fixed across observations) distributed in a bounded 2D space (say $x \in [0,1]$, $y \in [0,1]$), predict a specific numerical value or class.
So, each observation is this collection of points. There is no rotational ... |
I have been working with sentiment analysis for a paper and my advisor wants me to have a confidence interval for everything.
Here is my data:
type label count
0 aide memoire negative 102
1 aide memoire positive ... |
I am new to the subject and I assume that my question is basic...
I have two sets of aggregated data on a population (not a sample)
both data sets are categorical data:
let's say I have age groups such as:
0-17, 18-35, 36-50, 50-65, 65+
and another group of relations:
lawyer, son of a lawyer, spouse of a lawyer, grandc... |
I am currently reading https://www.ijcai.org/proceedings/2018/0374.pdf ,this is a research paper based on Student-t Variational Autoencoder for Robust Density Estimation , In this research paper, they told about a zero variance problem in Gaussian VAE's and proposed a new idea of Student-t VAE to overcome that problem ... |
I have an auto_arima model that works in Python but I want to optimize it using ARCH. I have run an ARCH model on my ARIMA residuals but I do not know what to do with my results.
How do I incorporate Variance, Residual Variance, Mean or Volatility into my ARIMA forecast?
Do I just do e.g. ARIMA Forecast + Variance (or ... |
Assume there are $n$ subjects and for $1\leq i\leq n$, subject $i$ is measured at $t_{i1}<\dots<t_{im_i}$ time points. Consider a regression model $E[g(y_{ij})|u_i]=\beta\cdot x_{ij}+u_i$ for GLM where $u_i$ is random effect following normal distribution for subject $i$ measured at time $t_{ij}$.
If $g$ is identity lin... |
I use a GAM to model interactions between two continuous and one unordered categorical factor with three levels. Depending on significance of the smooth terms I would like to extract and visualize either level-specific smooth predictions if they are significant, or the interaction between the two continuous variables a... |
I want to conduct a statictical analysis on reation times(dependent) between two groups of people.
suppose the factors are: A, B, group
Is it possible for me to conducting a posthoc test(by using emmeans() function with Tukey adjustments) eventhough there is no significant interactions between each levels of factors?
a... |
I have a particular data set where there is strong seasonality, and possibly a trend or non-stationarity. The seasonal decomposition looks as follows:
I am a bit confused as to what the order should be in which I perform my tests. First, I do believe I should perform an ADF test on the deseasoned data.
But then I don't... |
I am performing a survival analysis with three cohorts. In the descriptive analysis, I have used Fisher and chi-squared tests to compare the categorical variables (such as sex), and the Kruskal-Wallis test for continuous variables (such as age), under the non-normality assumption. Is it correct? In cases where the diff... |
Suppose we have 2 reports. These reports' original values are either all 0 or all a (a>0). Let $x_i$ be independent Laplace(0, b) random variables. For each report, we generate a random noise $x_i$ and add it to the report’s original value. Then we add the value of 2 reports, resulting in a sum $s_0 = x_i + x_j$ or $s... |
I am using boruta_py, Python implementation of the Boruta algorithm, with a random forest estimator.
model = RandomForestClassifier(n_estimators=5000, n_jobs=-1)
boruta = BorutaPy(model, max_iter=10, verbose=2, random_state=1)
And I fit boruta like so:
boruta.fit(np.array(X_train), np.array(Y_train)) # X_train is a D... |
Consider a mixture model involving an observed random variable $Y$ taking values in $\mathbb{R}$ with cdf $F$, a mixing random variable $\alpha$ taking values in a set $\mathcal{A}$ with cdf $G$ and a set of factors, i.e. a collection of cdfs $(F(y|\alpha))_{\alpha\in\mathcal{A}}$.
Suppose I know $F$ and $G$ and that t... |
I have a questionnaire made of 10 questions given to doctors from different specialties.
Each doctor evaluates 10 echocardiographic images and gives the image a score of 1-10 based on their own assessment of right heart strain.
30 complete responses were received (300 values, 10 columns, 30 rows)
Task 1: I would l... |
I have a dataset of longitudinal measurements for different sample individuals, with some covariates such as age, sex, time period, etc. The number of measurements taken for each individual varies. I would like to model the variance of the longitudinal measurements, including the covariates in the model with interactio... |
I've been reading around this and keep coming up short so I'm hopeful there's an easy test for this.
I am measuring the differences (on a Likert scale) between matched (paired) pre- and post-lesson surveys. Two sets of four questions in the survey are grouped around themes (i.e., "knowledge" or "attitude") so I need to... |
Is there an implementation of Deming regression that also handles random intercepts and slopes in the sample? We have a situation where we have compelling theoretical reason to believe that one measurement influences another but not the other way around. The data consists of multiple measurements per subject of a singl... |
Is this correct reasoning?
Let $x_i$ be a variable in a Bayesian Network and $\text{MB}(x_i)$ denotes its Markov blanket.
Let us note that:
$$
p(x_i \mid \text{MB}(x_i)) \propto p(x_i, \text{MB}(x_i)).
$$
By the definition of Bayesian network (factorisation property):
$$
p(x_i, \text{MB}(x_i)) = p(x_i \mid \text{Parent... |
I'm currently working with pregnant women data. Given that the same woman could have multiple pregnancies over the years, I tend to use GEE to obtain odd ratios of my variables of interest.
Now say I am interested in a classification problem with ~ 120 variables (whether the woman will have a preterm or not). Of course... |
When I first studied the representer theorem and the kernel trick from my professor's notes, I thought that the representer theorem implied that we could write any problem in kernelized form (and by that I mean that the data enters the objective function as a kernel matrix $XX^T$), and therefore we could use the kernel... |
I have used Complex Samples in SPSS (and SUDAAN in SAS, Survey in R) when working with survey data that were collected using a sampling design that was not random. For example, when an oversample was included in the data collection. Complex Samples incorporates the sample design into statistical tests, providing more a... |
The following question is crossposted from MathStackExchange upon recommendation from the MSE community and a lack of responses on my post over there.
Consider the following problem from a course on statistical inference:
If we generate a sample $x_i$ for $i \in$ {$1 ... n$} from $ p(x_i) = \sum_{k=1}^2 w_kp(x_i| \mu... |
In reading about brms, I came across the words "pterms" and "gterms" for "population-level effects" and "group-level effect". I was astonished. No, I was GOBSMACKED! Such sensible choice of terminology in statistics. How were they allowed to get away with it? More to the point, what makes "fixed" effects "fixed" and "r... |
I am confused about a simple point. Are the 95% CI's of a log odds ratios only symmetric when computed from a logistic regression? What if I got an odds ratio from a fishers exact test and converted it into a log odds ratio, does that guarantee symmetry? Sorry for the silly question.
|
I have $(Y_{n})_{n\in\mathbb{N}}$ as a seq. of positive, independent r.v.'s whose expectation is 1 $\forall n$. I have the canonical filtration $\mathcal{F}_{n}=\sigma(Y_{k},k\leq n)$.
I have already shown that $\xi_{n}=\prod_{k=1}^{n}Y_{k}$ is an $\mathcal{F_{n}}$-martingale, and that $(\sqrt{\xi_{n}})_{n\geq 0}$ is ... |
Suppose I draw two sets of random integers from 1 to 100. each using simple-random-sampling without replacement. One is size 50 and the other is size 25.
How can I calculate the probability of the smaller set intersecting with the bigger one?
|
General question: How do I fit a model to data when the data points have asymmetric error bars? What is the cost function I use to calculate residuals, and from that, how do I calculate confidence intervals/covariances for the fit parameters?
More specific details: I have data that looks something like
$$
Y \sim B(n, A... |
I'm attempting to plot simple slopes of my neg binomial from PROC GLIMMIX. I've been using the resources from UCLA (https://stats.oarc.ucla.edu/sas/seminars/analyzing-and-visualizing-interactions/) but have hit some snags.
My models have 6 mean-centered predictors including 2 of interest, treatment week (weeks 1-8) and... |
I am studying the Bootstrap method and encountered a question about how to estimate the reject region. Suppose we have observed a sample $\{(X_i, Y_i)\}_{i=1}^n$, I aim to investigate the linear correlation of the pairwise sequence $X_i$ and $Y_i$ without any infomation about the population.
To be specific, I have to p... |
I want to do a regression. the y series is provided, so does a dataframe(df) with columns x1,x2,x3...,xn.
I would like to have the regression as follows:
y=b0+b1x1+b2x2+b3x3+...+bnxn
where bi(i=1,2,3...,n) is in (0,1) and the sum of b1+b2+b3+...bn<=1
I was told to use scipy.optimize.minimize, but reading through the gu... |
0
I have process data in time series data(0min, 1min, ... 999min). I don't know what does the variables mean. They are just written in X1, X2, ... X52. Each row means the data at the time. At certain point, process becomes abnormal. Then the data after the point are all abnormal data. If normal data class value is 0 an... |
I'm using NN with sigmoid binary activation. And for threshold I using 0,5. So if output < 0,5, it classified as 0. And if output >= 0,5 it classified as 1. But I'm using bias too at the same time. Is it ok? Cause from what I know bias change threshold into 0.
|
When I adopt a case-control study for risk prediction models of CC, how I can measure Discrimination and Calibration?
|
Can I use as one of variables weighted average of a few market indexes for time series?
I saw it in one of the thesis i read recently, but i didn't see people commonly doing it in academic literature.
|
A question about semantics really I guess. Say a clinical trial is conducted according to ITT principles and a Full Analysis Set is defined as (for example) subjects that take at least one dose of treatment and have one post-baseline measure. The sample size reported will be those subjects in each treatment group that ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.