instruction stringlengths 9 38.7k |
|---|
I am running a hypothesis test, and I am trying to share the statistics on this test to business user. I have calculated effect size using Cohen's d. Now I want to find a way to convert this effect size back into original units of measurement, something more consumable for the business user.
Means of the two groups are... |
I have a dataset containing geolocation and time of purchase information for buyers of a new product (Product X). I'd like to determine the unit of spatial provision when this product was offered to customers. In other words, I want to find out whether:
The product was provided to all potential customers at once,
The ... |
I'm new to econometrics and this might be a dumb question.. but if I were to include an interaction term, do I also have to input the variables separately as a control variable?
For example, Y = a + beta1 + beta2 + beta1beta2. This contains all of the variables separately as a control. Is this always the right way to g... |
I am writing a thesis now, and I ran into a problem - I understand the basic concepts of time series econometrics and what models and tests exist, what exactly they check, but I can not find good structured information on how to choose a model for multinomial regression. I'm looking for something like a practical guide... |
Based on my studies, Hoeffding inequality is used for bounded or sub-Gaussian random variables which are explained on the Wikipedia page. I am reading the book Introduction to Multi-Armed Bandits by Aleksandrs Slivkins. In page 161, he provides a general inequality without the assumption that a random variable is bound... |
In the following i am studying life expectancy as an example: where I have dummies for a person being male, female, smart, wealthy. The base reference is a child who is not smart or wealthy.
Life expectancy=β_1 Male+β_2 Female+β_3 Wealthy+β_4 Smart+β_5 (MALE Wealthy)+β_6 (FEMALE Wealthy)+β_7 (SMART Wealthy)+β_8 (MALE W... |
In [4D U-Nets for Multi-Temporal Remote Sensing Data Classification] they give the following formula for the traditional 2D CNN. But I’m confused about the w_i,j in this formula:
From my knowledge I would say that if you have a NxNxd input, your kernel will have shape HxWxd in this case. So the ‘depth’ of the kernel m... |
Suppose you draw a random sample from a probability distribution, with the objective of gaining information about a parameter of that distribution. The inferential usefulness of the probabilistic information (Fisher information about the parameter) of the sample is obvious. Likewise, if we examine a set of messages sen... |
A characterization of the multivariate Gaussian distribution with a fixed mean and covariance matrix is that it is the unique probability distribution that maximizes differential entropy. That is, the Gaussian PDF is the unique solution to the following maximization problem:
$$
\text{argmax} \{\mathbb{E}_f[\log(f(x))] ... |
I'm still learning about mixed effects models, so bear with me here. I'm interested in modelling a binary response using a generalized additive mixed effects model with "year" as a covariate and random effect, but I've seen far smarter people than I argue for and against it (a covariate can't be both). For example:
Ab... |
I am working on a problem that gives me a joint pdf:
$$f_{x,y}(x,y) = 6xy, 0<x<1, 0<y<\sqrt{x} $$
I am asked to find $P(X < 0.5)$ with three decimal places.
My approach was to integrate: $\int_{0}^{\sqrt{x}} 6xy\ dy = 3x^2 = f_{x}(x)$ to get the marginal pdf of $x$. Then, I integrated again: $\int_{0}^{0.5} 3x^2 dx$ to... |
I've learned that ANOVA is simply a t-test but can compare more than 2 groups. However, I recently saw someone including an interaction term in an ANOVA test. What exactly is this doing? Do I interpret the ANOVA with Interaction effects the same way as a regular ANOVA? (simply compare the means of the groups, where one... |
We're working with Wooldridge Econometrics without matrix algebra.
My professor introduces a simple static time series model:
$$y_t = \beta_0 +\beta_1x_t+u_t$$
In the presence of serial correlation, we adjust for variance with the presence of autocorrelation:
$$Var(\sum_{t=1}^nw_tu_t | X) = \sum_{t=1}^nVar(w_tu_t|X) + ... |
Let $\{X_n\}$ be a sequence of independent random variables such that $\mathbb P(X_n=\pm 1)=\frac 14$, $\mathbb P(X_n=\pm n)=\frac 1{4n^2}$ and $\mathbb P(X_n=0)=\frac 12 - \frac 1{2n^2}$ for all $n\ge 1$. Define the triangular array $\{X_{nj}:1\le j\le n\}_{n\ge 1}$ by setting $X_{nj}=\frac{X_j}{\sqrt n}$. Check whet... |
Let there be a repeatable real world experiment with two outcomes denoted by $0,1$ for convenience (Tossing a coin for example). Let $X_i$ be the random variable that models the ith repetition of the experiment. It is an assumption of our model of that real world phenomenon that $X_1,X_2,X_3,...$ are independent ident... |
Let $\{X_n\}\xrightarrow{d}X$ and for some $p>0$, we have
$$\sup_{n\ge 1} \mathbb E[|X_n|^p]<\infty$$
Show that for any $r\in (0,p)$, we have
a. $\mathbb E[|X|^r]<\infty$
b. $\mathbb E[|X_n|^r]\to \mathbb E[|X|^r]$ as $n\to \infty$
[Note: You must not use (b) to prove (a)]
I am pretty sure we need to use Skorohod Rep... |
I am attempting to classify people as pregnant or non-pregnant. The business case requires that someone be considered in the model if they meet certain criteria (morning sickness, missed ovulation, etc.). Additionally, the business case requires that someone be classified as pregnant if that individual has a terminati... |
i have a data set that is being generate by a Bernoulli distribution let say $\mathbf{X} \sim x \in \{ 0,1 \}$, where x=1 with probability p. I dont have any information what is the 'p' parameter of this distribution and i am gathering sample to estimate it.
My goal is to find the best estimation for 'p' in a sample of... |
I want to conduct a simulation study on double machine learning in Partial linear regression setup as described in Chernozukov's paper for Double machine learning. I want to use lasso and want the number of covariates to be larger than the number of sample . Can you please give a scenario? I can't find any example rela... |
Network Meta analysis is mostly applied within the medical field. What about applying it to the business or marketing field ? Would that be possible ?
|
Consider the following item:
3.1 Resources and expertise availability
4 – High availability of resources and expertise
3 – Moderate availability of resources and expertise
2 – Low availability of resources and expertise
1 - No availability of resources and expertise
Respondents have to select one option. Numeric values... |
I was reading this paper and the book "Introduction to Quantum State Estimation" by Yong Siah Teo and I am facing some issues trying to understand how the definition of the cost function given in these two references can match each other and how the likelihood function can rise from this definition.
The paper reads:
A... |
I would like to model the Value-at-Risk of U.S. sector indices and the U.S. Broad Dollar Index using the variance-covariance method. To achieve this, I model the conditional means and variances of the returns using ARMA-GARCH models. Here is the issue: I first need to determine whether ARMA orders are necessary to elim... |
I am trying to solve Exercise 4.8 in Cowpertwait-Metcalfe: Introductory Time Series with R. (For self study, not for coursework.)
We are given a time series model
\begin{align*}
x_t & = x_{t - 1} + b_{t - 1} + w_t\\
b_{t - 1} & = 0.167 (x_{t - 1} - x_{t - 2}) + 0.833 b_{t - 2}
\end{align*}
where $w_t$ is white noise. W... |
Show that if $X$ and $Y$ are independent random variables with $X+Y\stackrel{d}{=}X$, then show that $\mathbb P(Y=0)=1$. Can the independence condition be dropped?
I could solve the first part using characteristic functions, but I am stuck on the second part where I need to give a counterexample. I think we need to u... |
I'm looking for where best to start on the following problem.
I have a graph of N nodes and each node as a weight. I need to group all nodes into X groups such that the sum of weights in each group are approximately even and that each group is a connected component of the original graph.
After some simple searching I c... |
In my understanding, the ROC curve plots the True positive rate and the False positive rate.
However, I've also read in other places that the ROC curve helps determine where the threshold for classifying something as "1" should be. Eg. Lets say if the probability of an an object is a "dog" is greater than 50% or 0.5, ... |
I'm reading on Control chart rules and there is a rule which says: "7 or more consecutive points on one side" in considered "out of control". However, does it take into account the amount of data points? For example, if I have 100 data points (i.e does In-process control tests 100 times), the probability of having <=6 ... |
In Bishop's PRML on page 259 he discusses a L2 regularizer for each layer of a 2-layer neural network, given by
$$
\begin{equation}
\frac{\lambda_1}{2}\sum_{w\in W_1}w^2 + \frac{\lambda_2}{2}\sum_{w\in W_2}w^2
\end{equation}
$$
He then explains that this corresponds to the prior distribution
$$
\begin{e... |
I need to compare the significance of Gender between the two groups.
Here is the table:
df <- data.frame(No = c(1:15),
Group = sample(1:2, 15, replace=T),
Gender = sample(c("F","M"), 15, replace=T))
Ge_M <- df %>%
filter(Gender == "M") %>% group_by(Group) %>%
summarise(Value = n(... |
I am working on an attrition dataset which has a large number of categorical parameters. Each categorical parameter has a high cardinality, so one-hot encoding them is out of question. I was looking for models which can handle categorical data with high cardinality and came across CatBoost and LightGBM. Catboost is wor... |
Suppose I have a model (Model_A) that can predict the net weights of products from an arbitrary input X.
Weight = Model_A(X)
Model_A has a mean absolute error of a.
I have a set of ground truth weights for a bunch of packages with many individual products. My objective is to use Model_A to predict the weights of the p... |
Given that $X\sim\text{Bernoulli}(\nu)$, for some $\nu\in(0,1)$, and $Y\sim N(0,1)$ are independent random variables. What is the entropy $H(CX+Y)$, where $C$ is some fixed constant? I am a bit confused about how to derive this since we are adding discrete and continuous random variables together. Thanks.
|
i have 2 data frames, an old training data set, and a new training data set.
Both have the same features and order of the features used for training the model along with the ground truth column.
something like so:
f1 f2 f3 ... Ground_Truth
v1 v2 v3 ... |
I want to correct for alpha error accumulation for my 10 crossed linear mixed models. The random parameters are specified as follows: random intercepts for subject and stimulus and a random slope for factor1,factor2, ... to factor10 in subject are estimated. The R-Code looks like this.
m1<-lmer(outcome1 ~ factor1 + (fa... |
I would like to know if there is a statistical model to analyze my problem:
I want to test if the location of the tumor is related to the level of a particular biomarker
A patient may have multiple tumours (tumor sites can be correlated but let's ignore this point to start).
It is not a competitive model, since the ap... |
Here is a graph of the 29 patients in my study, with three follow-up periods.
Not all patients completed all three follow-ups
I want to test the overall trend to see if it is significantly different from 0 and if it is increasing or decreasing. I'm wondering if the best test to do is the Mann-kendall test or if it's th... |
I have about 200 test items that contribute to 8 sections of a test, called Brain_Test. The 8 sections are converted to standardised scores. The standardised scores are individually interpreted, or added to provide an overall test score and interpretation.
I am interested in a small part of a section. Let's call it Sec... |
So I am doing a project where the response variable is the number of days in which a product is rebought. Explanatory variables are the weight of the product, serving size etc.
So basically I am predicting the number of days in which customers will likely rebuy, given the product weight, and serving size. All products ... |
In an intervention study, I have the following information - % of students passing an exam pre- and post intervention, sample size for control group and intervention group at pre- and post intervention, how can I work out the effect size?
|
The Pareto Type II distribution, also known as the Lomax distribution, has the following density,
$$f(x|\alpha,\lambda)=\frac{\alpha\lambda^{\alpha}}{(\lambda+x)^{\alpha+1}}, \qquad x>0,\ \alpha>1,\ \lambda>0$$
with $\lambda$ known. I'm trying to find an approximate confidence interval for $\alpha$. For context this is... |
I have a model for which the lower bound takes the following form
$
\log p(x) \geq \mathbb{E}_{recog}[\log \frac{gen}{recog}] + \mathcal{c}
$
where recog and gen denote the factorization in the recognition and generative models, respectively, and c is
$
\mathcal{c} \propto \log(2),
$
i.e., a constant term. Given that ... |
I want to study the uncertainty propagation through a nonlinear function $Y = f(X)$. I am assuming that $X$ is normally distributed and I am using the moment method approximating $f(X)$ by its first (or second) order Taylor approximation. By using this method I would obtain the output mean and standard deviation $\mu_Y... |
I was wondering if any have advice on what the correct steps/interpretation are with regards to the following questions on Cox regression.
As a side note, I am using STATA MP 15.1 to analyse the data and I am quite new to survival analyses.
Are my covariates assumed to be time-variant? I have a dataset that has quarte... |
The formula for the Z-score combination is,
$$
Z_w = \frac{\sum_{i=1}^k w_i Z_i}{\sqrt{\sum_{i=1}^k w_i^2}}
$$
Euclidean norm was used as the dividend. Why isn't it absolute-value norm ($\sum |w|$)?
Though it was called Stouffer's method, it was invented by Liptak, T. (1958). In the paper, I could not find any discussi... |
I have a question with respect to running multiple linear regressions for the entire sample and different subsamples:
I have a dataset that includes a dependent variable y and several explanatory variables x1, ..., xN and z. I am interested particularly in the binary explanatory variable z. If I split the entire datase... |
I'm working with the survreg() function of the R survival package, and I understand that the default scale parameter for the Weibull distribution generated by this function is on the log-linear scale. In the code snippet at the bottom of this post, you can see I transform the scale parameter to the original scale of th... |
I'm looking for an association between 2 variables before and after manipulation. I ran 2 separate crosstabs and I'm able to see for which cells there's an association. Additionally, I want to see whether the association change from before (part1) to after (part2) manipulation is significant. I'm attaching a screenshot... |
This code create the linear bondary between two classes.
% Töm
clear all
close all
clc
x1 = randn(50, 2);
x2 = 10 + randn(50, 2);
x = [x1; x2];
y = [linspace(1, 1, 50)'; linspace(-1, -1, 50)'];
% Träna en linjär SVM med quadprog
C = 10;
H = (y*y').*(x*x');
H = H + 10*eye(size(H));
f = -ones(size(y));
Aeq = y';
beq = ... |
I have a sample of stroke patients and I want to find the education effect on their performance in a neuropsychological tool. The total sample is n=19. I have divided the sample into 3 groups according to their years of education, so I have 3 groups (1st group: n=5, 2nd: n=5, 3rd: n=9). Shall i do a Mann Whitney U test... |
I need some help understanding how to write a variance equation.
I have the general variance equation written as
$$
\sigma_{t}^2=\alpha_0+\alpha_1u_{t-1}^2+\beta_1\sigma_{t-1}^2.
$$
I am wondering how to make this specific such as if I used returns on the S&P500 index. For example in this study I entered the following ... |
Given the IV estimator for $\beta_1$ (From $y = \beta_0 +\beta_1x + u$):
$$\beta_1 = \frac{Cov(z, y)}{Cov(z, x)}$$
And it's sample analog:
$$\hat{\beta_1} = \frac{\hat{Cov}(z, y)}{\hat{Cov}(z, x)}$$
Which simplifies to:
$$\hat{\beta_1} = \frac{\sum_{i=1}^n(z_i-\bar{z})(\beta_0 +\beta_1x_i + u)}{\sum_{i=1}^n(z_i - \bar{... |
I have some survival data and need to fit survival models to it and extrapolate. I plotted the log cumulative hazard and empirical hazard plot (using muhaz). There appears to be a change in the hazard around 400 days, but the two curves appear to be parallel.
I'm considering my options as, fitting standard proportional... |
I have two stationary time series $X(t)$ and $Y(t)$ that I know are correlated to each other but they also each have autocorrelations. Each has a credible interval band for each time series at every time $t$ defined by their respective means $\mu_x(t)$ and $\mu_y(t)$ and standard deviations $\sigma_x(t)$ and $\sigma_y... |
I'm working on a problem statement which involves ranking some short-lived items in an order such that the items expected to sell the most in the next n days are ranked on top - basically ranking based on expected sales.
I've labelled historical data for such items. The data includes information about the items themsel... |
I developed an ABM to evaluate land use change and I tested 4 different scenarios, each scenarios contains some stochasticity and I therefore run each scenarios 40 times.
The 4 scenarios are made of 2 times 2 constrasting scenarios : 2 climate scenarios (1 and 2) and 2 economical scenarios (A and B). We therefore have ... |
I recently came across this study describing the benefits of the author's relaxed adaptive LASSO regression. The author describes a simple algorithm (which appears to be glmnet, effectively), as well as a newer algorithm which is slightly optimized for speed. It occurs to me that you could possibly do something similar... |
You have a basket of $n$ assets whose returns are multivariate normal with zero mean. The correlation between any pair of assets is 1/2. What is the probability that $k$ of the assets will have positive return?
I think the answer should be $\frac{n!}{k!(n-k)!} \frac{1}{2^n}$, regardless of what the correlation is. Is t... |
I have data which reports the relative performance (in percentage) of several candidate objects with respect to a standard object. In other words, the performance of the standard object is always reported as 100%, while that of the candidate objects could be below or above 100% , i.e. the performance could be 200% ,it ... |
I'm just exploring Generalized Linear Models for the first time, and trying to see if I can correctly fit the simplest model I can think of. So I'm generating random values from some NegativeBinomial distribution and then fitting it with a GLM.
np.random.seed(5555555)
weeks = np.arange(np.datetime64("2020-01-01"),np.da... |
Working on VARX model and I want to include MA term here but I have not found any package in R to build VARMAX model. MTS package can be used to fit VARMA model but I want to include exogenous variables while fitting the model.
is there any R package available for VARMAX modeling? if not then any alternative for this?
|
Say that I have a vector of success rates, which are each ratios bound by [0,1]. I know how to get a normal approximation of this data; however, I'm interested in getting the MLE fit for Beta(a,b) which best described this distribution of rates.
I'm well aware of the Beta-Binomial Bayesian model. However, I do not have... |
I am trying to measure the relationship between the price of a futures-contract and the current price of the underlying asset on the day of purchasing said futures-contract. For this I have a dataset with daily data on both, amassing about 8000 observations, where 3500 of them have values for both variables.
The variab... |
I am conducting a research study on sex differences in the physical limitations of patients with ankylosing spondylitis (AS), using the Bath Ankylosing Spondylitis Metrology Index (BASMI). The BASMI is a composite score that consists of five components, including cervical rotation (measured in degrees), tragus-to-wall ... |
I am dealing with a binary classification problem (class 0/1) with class imbalance. Given the vector of predictions, I would like to compute:
F1-Score for class 0
F1-Score for class 1
Weighted Average F1-Score
Inverse Weighted Average F1-Score
The last one is a custom metric that I think could be useful: it works exa... |
How do you explain a box plot with categorical variables on the x-axis? For example, I have these two box plots, how do you interpret relative comparison of each category within the box plot?
Sample data:
# Create a Pandas dataframe
df = pd.DataFrame({
'demand': ['low', 'medium', 'high', 'extreme']... |
Among the binary strings of length $n$, what is the distribution of the lengths of the homogeneous runs ?
E.g., for $n=4$ the possible strings and run lengths are
$$0000: 4;0001: 1,3;0010: 1^2,2;0011:2^2;
\\0100: 1^2,2;0101: 1^4;0110: 1^2,2;0111:1,3;
\\1000: 1,3;1001: 1^2,2;1010: 1^4;1011:1^2,2;
\\1100: 2^2;1101: 1^2,2... |
Someone I know are using linear regression to estimate differences-in-mean for parental stress, given a binary explanatory variable $X_i=[0,1]$. They have found a small, but significant effect.
They have a sample of 3000 parents, but the sample is very uneven, with 2700 parents with $X_i=0$ and 300 with $X_i=1$. So it'... |
I was hoping someone could help me confirm or correct me on my interpretation of my estimated coefficients of ARDL model.
All my variables are converted into natural log form, ln, both Y and Xs.
My interpretation of say a coefficient on varibale Y first lag, L1, of .726
will be: a 1% change in the first lag of Y is ass... |
One parameter survival distribution with increasing hazard rate is (for example) Rayleigh and Lindley, where Rayleigh's hazard rate increases linearly and Lindley's hazard rate increases with a concave trend.
The total time on test (TTT) transform procedure is used as a tool to identify the hazard behavior of the data ... |
I am a bit confused with the following problem of probability:
"We select 3 phones of a sample in which we know that the 60% of them contain one mistake and the 10% contain more than one mistake. We define the variables $X$="number of phones with some mistake" and $Y$="number of products with less than two mistakes". O... |
Suppose I obtained two survey data $D_1,D_2$. (I did not design surveys and I am told to conduct analysis. The survey sample is not a probability sample but a "census" of convenient sampling.) In $D_1$, the survey collected population characteristics. I found some outcomes of interest is related to population character... |
Given a multivariate regression, in a form bellow, what would be the minimum number of observations ($n$)?
$$\mathbf{Y}=\mathbf{X}\mathbf{B}+\mathbf{E},$$
where $\mathbf{Y}, \mathbf{X}$ and $\mathbf{E} \in R^{n\times m}$ $(n>m)$ and $\mathbf{B}\in R^{m \times m}$. You can treat each column of $\mathbf{Y}$ and $\mathbf{... |
Suppose you have 3 or more tables with different observations or hypotheses to be merged with a inner join. The tables have partially overlapping columns, and when completely merged yield a reduced set of combined conditions. What are some algorithms for joining multiple tables (more than two at a time) so that they ... |
can someone direct me to a paper etc. that states the assumptions of ARDL that need to hold for parameters to be valid?
ARDL is an OLS based model , does that mean the regular assumptions of Gauss-Markov are also assumptions of ARDL?
|
I have a question about using the anova function and Anova from the car package. I know there is a question about Type 1, 2 and 3, but the question is this: I am doing an analysis where I want to compare the average interactions in networks of floral visitors in three treatments (three categories). I am using three cov... |
I'm trying to detect anomolies in a dataset $i \in \{1,2,...,N\}$ where a random variable $y_i$ is expected to be drawn from a normal distribution with mean $\mu_i=0$ and variance $\sigma_i^2 (X_i)$ totally determined by (conditioned on) the multiple features $X_i$.
My hope is that I can use a Z-score threshold such th... |
I am running a regression with a sparse rank-deficient matrix where many columns are correlated with others. At the moment, I remove all columns with a correlation over 0.8. The matrix has 12k columns and 35k observations, and I drop about 2k columns.
For example, my text may mention cities and I have three highly corr... |
ADF (Augmented Dickey-Fuller) test to check if an asset price is stationary or non-stationary using pure JavaScript without any library.
|
After my previous question (here) I tried to improve my work with this distribution. I'm using the parametrization $$f_X(x) = \frac{\theta^2 x^{\theta-1}(\gamma-\log(x))}{1+\theta\gamma} \mathbb{I}(0<x<1), \theta \in (0, \infty), \gamma \in [0, \infty)$$ with CDF $$F(x) = \dfrac{x^\theta\cdot\left({\theta}{\gamma}-{\th... |
I'm doing a linear regression with data from 1980 to 2018.
Can you help me understanding why when I use the GDP in levels most of the others variables are significant and when I use the GDP growth rate they are not significant?
I used the growth rate for all the other variables.
This is the output I have with GDP in le... |
For a research project, I created a panel dataset that counts violent events in subnational administrative units from 2000 to 2015, thus my unit of analysis is district-year. Out of 20.000 district-years, only 2000 record violent events. Therefore I decided to proceed with a zero inflated negative binomial regression m... |
Looking to train a simple single-layered NN with a N-dim softmax output (and a relatively small feature vector size, ~2-10) in a streaming fashion accumulating K samples in a buffer and then performing batch gradient descent steps to update the weights. The samples have soft labels as outputs instead of one-hot encodi... |
I am trying to use GAN model to generate N-dimensional samples with joint probability distribution that looks like some training data. I am having trouble getting the probability distribution of the generated data to match the training data.
As a training example, I created a 2-dimensional training dataset from bimodal... |
I conducted a survey: I asked 50 participants a question about a device they were using "is this device helpful".
30 said "Yes", 20 said "No".
How do I proceed with input into a contingency table or input to online Chi squared calculator (expected and observed results)?
|
For data in a negative binomial distribution, is it possible to derive the dispersion if you only have the mean and shape? I don't have the actual data, just the results summary of mean and shape, but I would like to have dispersion.
I have tried to read up on this but I have not had success.
|
Given that $X\sim\text{Bernoulli}(\nu)$ for some $\nu\in(0,1)$, and $Y\sim N(0,1)$ are independent random variables. I want to compute the mutual information $I(X;CX+Y)$, where $C$ is some known non-random constant. Is there a simple way to approximate this numerically? Thanks.
|
Both dpois and dnorm in the code below sum to 1 (or thereabouts). This appears to confirm my understanding of the dpois and dnorm functions, which is that they represent proportions.
sum(dpois(x = 0:20, lambda = 5))
# 1
sum(dnorm(-10:30, mean = 10, sd = 2, log = FALSE))
# 1
But the output of dbeta does not sum to 1. ... |
I am having some troubles with my scatterplot matrix.
I've already looked at the other similar questions but it seems that I still don't understand how to deal with the situation when you have too many points in your scatterplot matrix.
Here is my code below, Olten is a station in CH with 600 observations (going from j... |
What is Prediction(s.d.) in the summary output calculated based on? My understanding is that there are iterations done to get predictions of the counterfactual in the post-intervention period at each timestamp. So the sd is just the standard deviation of predictions? Can I use the standard deviation to select between m... |
I have data with a nesting structure I am unsure how to account for.
I have data on countries, who were rated by two different organizations, once per year each. I would like to know what country specific factors influence the ratings and observe if these predictors have different effects on the rating from each organi... |
I have a set of points whose shape is as below:
Its set of x and y points is as follows: x=[0.14741,0.180288,0.195,0.245342,0.25614,0.289377,0.315789,0.357143,0.431034,1.785714,2,2.323529,2.586207,3,3.894737,4.923077] y=[0.211718,0.408906,0.507768,0.832,0.903626,1.092787,1.368377,1.750082,2.593839,1.72126,1.653633,1.5... |
I have a multiple logistic regression with continuous variables (dist_fs, slope, min_dist), one binary variable (exp), and one interaction between the binary variable and a continuous variable. The response variable is not balanced, I have n=273 for "1" and n=13847 for "0".
The summary of the model provided these coeff... |
https://arxiv.org/abs/2304.01933 shows that the best performing adapter-based parameter-efficient fine-tuning depends on the language model being fine-tuned:
E.g., LORA is the best adapter for LlaMa-7B, while S-adapter is the best adapter for BLOOM-7.1B.
Why does the best performing adapter-based parameter-efficient f... |
I have proven that if $C$, a concept class, is efficiently learnable from statistical queries using $H$, a representation class over $X$, then $C$ is efficiently PAC learning using $H$ in the presence of classification noise.
How would I extend this result to a statistical query model where the learning algorithm, in a... |
Both word2vec and transformer model compute a SOFTMAX function over the words/tokens on the output side.
For word2vec models, negative sampling is used for computational reasons:
Is negative sampling only used for computational reasons?
https://stackoverflow.com/a/56401065/1516331
So why don't we use negative sampl... |
I am trying to remove seasonality from a dataset. What I am interested in is the residuals, as trend and seasonal influence do not matter to the problem at hand. I am using the statsmodels package in python. Specifically, "Multiple Seasonal-Trend decomposition using LOESS (MSTL)", as there are multiple seasonalities in... |
This code was kindly recommended to me in my original question. It returned the same parameter estimates as the software called CRAFT by Aon Benfield. I have also managed to replicate it for the Weibull distribution.
I was wondering if anyone could help me replicate if for Pareto? Based on CRAFT, I would expect a sh... |
I am using linear mixed effect models to study the effect of a physical therapy treatment on two different populations of patients (Adolescents and Adults). The treatment is the same for both populations, and for each subject the (same) treatment is applied to both legs (Left/Right). The question is whether the treatme... |
I have been working on prediction models in R studio based on a rather small data set. There is a total of ~ 1200 cases with 150 to 400 positive cases depending on which of the different outcomes is being modelled.
Initially it was done with a 70/30 split that was stratified to have a similar distribution of positive c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.