instruction
stringlengths
9
38.7k
I have K normal r.v. $Z_1,\cdots,Z_K$ but they are correlated with each other. Which condition should be added for them to be joint multivariate distributed?
I've used the following objective function to assess best hyper-parameters using Hyperopt(): # Base optimizer with input hyperparameters on Tree based encoding and Logistic Regression def mxLogRegGiniComb(cb_depth = 1, max_depth=5, min_rr_delta=0.002, min_samples_MP=50, min_samples_leaf=0.03, che...
I'm trying to improve my understanding of a few basic concepts in statistics (like statistical significance, the p-value, etc.) and to achieve that I decided to do a study myself (trying to learn through doing). I collected a data set about my chess games that includes my level of alertness, the number of blunders I ma...
I'm using a RF analysis to evaluate 75ish predictor variables pertaining to my response variable of percent functional area across some wetland sites. I selected the default ntree value of 500, and my mtry value is roughly p/3 (25), although my model performs slightly better with an mtry value of 15. My sample size is ...
Suppose we stop growing the tree here at gender Then if a new sample has moderate education will consider the label to be true or false? Looks like it will be false 66% of the time but this isn't very helpful.
Is it correct to say that the two time series are correlated in levels, but not first differences? $$x_{t}=\phi t+u_{t}\\ y_{t}=\rho t+\epsilon_{t}$$ where $\epsilon_{t}$ and $u_{t}$ are mutually orthogonal white noise processes, and $\phi$, $\rho>0$. The first differences of these time series are: $$\Delta x_{t}=\phi+...
Suppose that $X$ measures the half-life of a radioactive element, with decay rate $\lambda$ (per unit of time). Starting from a population of $N$ particle, I believe you can model the number of particles that decay over a unit of time as a $Poisson(N\lambda)$, and that the time until the first decay is detected is mode...
Hello and i please need some assistance. Every week I send out a survey request to 1,000 customers rating service from 1-10. Each week only 20% respond. Each week I report on the average. Because this is a sample, shouldn't I also report the margin of error? Follow up. Instead of reporting weekly, i sum all of the...
Suppose everyone (7 people) chooses independently and randomly out of 7 choices. What are the odds that no two people have picked the same option? I feel like the answer is $5040/823543,$ but I am rusty with anything math related.
As far as I understand it, log-linear analysis is based on the use of a Poisson regression. This is what I understood from various online resources, like this online tutorial or this text whose intro says: "In this chapter we study the application of Poisson regression models to the analysis of contingency tables. This...
I generated a TS out of a monthly data. TQ_volume_ts <- ts(csv_file[4:39,"Volume"], start=c(2019,01), frequency = 12) When i apply the decompose function I get the following result: Now I applied the acf and pacf function to the same TS: From the autocorrelation plots I see no correlation regarding to the 12th month...
I'm having a difficult time diagnosing the reasons for singular fits in a business problem I'm working on. The lme4::isSingular documentation recommends lme4::rePCA as a function to help diagnose singular fits. I can successfully run the function on my models, but I don't know how to interpret the results. I created a...
Consider observations on three variables $X1, X2,$ and $X3$. Suppose that $X1$ is regressed on $X2$. When the residual of the above regression is regressed on $X3$, the regression coefficient of $X3$ is $β_3$. When $X1$ is regressed on $X2$ and $X3$ simultaneously, the regression coefficient of $X3$ is $β_3^*$. We need...
I have an imbalanced binary classification problem I am trying to solve with the LogisticRegression algorithm in sklearn. As the data is highly imbalanced I am looking at ways to treat the imbalance issue. After reviewing all the literature I see methods like undersampling, oversampling, and methods of those like - SM...
Background Suppose we observe $n$ IID Bernoulli variables and our null hypothesis is that their common probability is $p$. For denote by $\mathbb{1}_{\{i\}}$ the outcome of observation $i$. Then by the central limit theorem $\frac{\frac{1}{\sqrt{n}}\sum_{i=1}^n (\mathbb{1}_{\{i\}} - p)}{\sqrt{p \cdot (1 - p)}} \rightar...
I am just starting to learn about Rasch analysis, but there is something I am a little confused on. So let's say you conduct an analysis using a rating scale model for some Likert scale and everything looks good. When you want to use that scale for a study, let's say as a predictor variable, can you just put the Rasch ...
Suppose $p(X_j | X_1,\ldots,X_{j-1})$ comes from some known exponential family for every $j=1,\ldots,k$. Does it follow that the joint distribution comes from some (possibly different) exponential family? An obvious example where this is true is Gaussian RVs. Are there conditions under which this generalizes? (Note tha...
When an ML model (neural network or a regression etc.) is built, is there any way of understanding the logic of the model, i.e., the relationship between the covariates and output in terms of data-generating models, i.e., structural causal models, and therefore understanding the causal relationships rather than the dis...
I am interested in training different algorithms on a data set and observing performance metrics. Currently, my approach is to train different algorithms on train data, and then evaluate performance on a test set. Then, I use a GridSearch with cross-validation to find the optimal hyper-parameters for the best-performin...
I need to perform a GLM based analysis on a purely positive, continuous, and highliy right skewed (inflated around low values) outcome variable. I tested several combinations of distributions and link functions with the Akaike and Bayesian Information Criterions as proposed in this textbook: glm_log_gam glm_sqrt_gam gl...
Starting from the PDF of the Pareto distribution, \begin{equation} f_{\theta_1, \theta_2}(x) = \begin{cases} \frac{\theta_1 \theta_2^{\theta_1}}{x^{\theta_1 + 1}}, &\quad x \geq \theta_2 \\ 0, &\quad \text{otherwise} \end{cases} \end{equation} I compute...
I am having some trouble determining the correct modeling strategy for my research. I have a sample of approximately 500 movie observations nested within approximately 250 franchises. The average number of movies per franchise is approximately 2, but the number of movies per franchise ranges from 1 to 14. About 140 fra...
Is there anyone familiar with statistical process control charts? The usual control limits +-3SD are based on normal distribution. What are the common methods for dealing with non-normally distributed data? For example, proportions that are close to 100%. I am not certain what kind of distribution fits. Is it OK to do ...
I am trying to run a single model and am interested in all main effects and some interactions. However, I have so many variables that trying to run it all in one model is resulting in four and five way interactions that I have no theoretical predictions about and would be meaningless to interpret. I am predicting DV fr...
I have completed a range of steady-state CFD simulations on building roofs. A contour map of the resulting variable is displayed in the Figure below with the corresponding values on the left side. Each cell on the map contains a value of the variable. I also plotted the variable in a box plot to analyze it and it was n...
It's common to see people report variability in their realized sample through the $\bar{x} \pm 2s$ range, where $\bar{x}$ is the realized mean and $s$ the realized standard deviation estimate in their sample. Beyond informing about the realized sample, I am guessing $\bar{x} \pm 2s$ is often reported in the hope that i...
I am running a DiD model with fixed effects to find the causal effect of traffic cameras on my outcome variable: share of car accidents of total accidents per neighborhood. The treatment, road cameras, were randomly distributed in certain neighborhoods (i.e. the treatment group) versus neighborhoods without a road came...
What summary statistics, mean, median, standard deviation, etc. should be used on a skewed, bimodal, dataset and why? These are almost U shaped in a histogram layout with a slight preference for lower values. They are of a single characteristic, so are not a mixture of 2 variables. An example data is the following: ...
Let's assume I have "n" random number generators, each one has a different variance value, but has the same mean value, zero. If I generate "n" random numbers with these generators, and sum all of them for an output in an iteration, after many iteration steps, I will get an array as a result. What will be the variance ...
Let's say that I'm conducting a non-randomized matching evaluating of an educational intervention to determine its impact on student grades. While the students receive the intervention, the teachers are the ones who are trained to administer the intervention, they deliver the intervention, and the effects of the interv...
Consider two infinite sequences $X_1, X_2, \dots$ and $Y_1, Y_2, \dots$. Suppose that $$\lim_{n\rightarrow \infty} |F_{X_n}(z) - F_{Y_n}(z)| = 0 ~~~~~~~~~~(1)$$ for all $z$ at which both cdf's are continuous. I believe in that case you cannot say that $X_n {\rightarrow}^d~ Y_n$, since convergence in distribution is, st...
Here is a snippet of the data: I believe both of these are discrete variables. I want to first determine if a correlation exists. Would I utilize Kendall’s Rank Correlation? Second, I want to create a regression model for these variables. Third, I want to conduct a breakpoint analysis; I believe I could do so using th...
Is it reasonable to report $I^2$=0 with 95% confidence interval [0, 100] in a meta analysis manuscript? I was not sure since the CI covers all possible values. $I^2$ is a commonly used heterogeneity measure that provides an estimate of the proportion of variability in a meta-analysis that is explained by differences be...
The following is an instance of Bayes' Rule: $$P(\alpha, \beta, \gamma, \delta, \epsilon|\mathbf{X}) = \frac{P(\mathbf{X}|\alpha, \beta, \gamma, \delta, \epsilon)P(\alpha, \beta, \gamma, \delta, \epsilon)}{P(\mathbf{X})}$$ I'm trying to understand the following break-down of the likelihood function: $$P(\mathbf{X}|\alp...
I try to use prediction_in_sample() in an ARIMA model (python package pmdarima) to estimate the whole time series and predict() to predict the next 10 data But they behave very differently, e.g. prediction_in_sample() has large variance, predict() seems to only show trends, so predict() has small variance I wonder why?...
TL/DR: I'm trying to convert a model from SPSS to R and I'm getting different results (Estimates of Fixed Effects), and I haven't been able to figure out what I'm doing wrong. Syntax, code, and results at the end. For my thesis, I am studying the effect of salt concentration in cooking water on pasta quality using thre...
I have run multiple imputations on my data and need to now export a final dataset that I can then calculate the mean of each imputed variable. How would one do this? I can't pool the data straight into my analysis because of the way my data is set up: My dependent variables are measures of participants response time an...
I'm doing a time series forecast (with hourly data), and after plotting the autocorrelation of the residuals, I get a bigger value for every 24th lag (the pikes in the picture). I tried to include the 24th lag of the dependent variable in the model, but no change. What are my options in this case, if I want to remove t...
I think the probability should be equal to shaded area shown in the figure divided by 4, which is equal to (3+ln 2)/4. Is this correct, because my answer is not matching My solution: I find the area and divide by 4 to normalise it. First i find the quarter-circle looking area which is on top right & bottom left and sub...
''' coxph(formula = Surv(time, hyper) ~ age + drink + smoke + sodium * tchl * BMI, data = male) coxph(formula = Surv(time, hyper) ~ age + drink + smoke + sodium * tchl * BMI, data = female) The 3-term variables are factors (=categorical) male patient:1506, control: 162 female patient:1548, control: 363 time: 7 perio...
I have two arrays of 2048 binary values (1 and 0) and I'd like to find out if their content can be considered correlated. I'd like to have less than 1:1000000 chance of a false positive in determining the correlation. I'm looking for a percentage number as well as a formula. We can assume the binary values to have been...
I am trying to train a machine learning model to predict yield on fields, based on multiple parameters, such as elevation, humidity, and nitrogen content. Observing the historical harvest data, I guess, there are some additional (unknown) factors that make a field non-homogenous, and therefore, it would be better to sp...
I am back with more questions, this time about multivariate analysis. As before I am new to this all so apologies in advance if the question is not well formulated. The problem We are trying to measure how a field of corals recovered over a number of years after a natural disaster occurred. For that we have abundance d...
In quantitative causal inference, we do power analysis to determine the minimum sample size to achieve (1 - $\beta$) statistical power of our hypothesis test with a specific $\alpha$ statistical significance and a minimum, meaningful effect size. In qualitative studies, when using Grounded Theory, how should we ensure ...
I have a sample $X=(X_1,\dots,X_n)$ of $i.i.d$ Poisson variables such that $n=100,\overline{X}=8.8$. My goal is to obtain a $80\%$ confidence interval for the parameter $\lambda=\theta$. That is, the confidence level $\gamma=0.8$. I have looked through Confidence interval for a small number of iid Poisson, 95% Confiden...
I am a bad statistician and new using Bayesian tools, and I am learning how to make regressions with rjags. While toying, I came across a situation I do not fully understand, and I would need some help from the community. the example: library(data.table) library(ggplot2) library(rjags) library(magrittr) global_slope <...
This question is about having a non-positive-definite expected Fisher information in a normal model in which observations have different dispersions. Consider this simple normal model: $$Y_i \sim N(\mu, \tau^2 + \sigma^2_i)$$ where $\sigma^2_i$ is the known (not estimated) error variance for the $i^{th}$ observation. S...
I have 2 datasets: The 1st one gives us the probability that $m$ events occur on $n$ observations ($m$ columns for $n$ rows) The 2nd one tells us if the event occurred (1 if occurred, 0 else ; always $m$ columns for $n$ rows) My goal is to predict all the combinations of joint events for future observations of $m$ pr...
I have a freemium mobile app usage dataset. I want to perform a regression with the average spending per month (continuous) as a dependent, and if they came via referral program (binary) as the independent variable. However, the average spendings per month are highly right skewed (lots of 'minnows', only a few 'whales'...
We would really appreciate some help building regression model(s) using a paneldata set. The dataset consists of data from retailstores over two years. Our research question are as follows: How does different payment methods affect retailstores unregistered shrinkage? As a result we want to see which payment method tha...
I'm quite new to regression modelling. I'm trying to predict the average treatment effect of a weight loss intervention by comparing outcomes in control and treated groups. The model currently includes gender, age, age-squared, and treatment as covariates. But being male predicts better outcomes in the treated group an...
In my linear regression model, baseline BMI is a significant predictor of BMI change following a weight loss intervention and including it improves fit (e.g. AIC). But it is strongly associated with gender, so the relationship is not linear (see the two clusters in the scatterplot below). Is it therefore a bad idea to ...
$$X\ \sim Exp(U) ~ and\ U\ \sim U(0,1) $$ The question asked for the value of $ P(X\geqslant 1)$ I saw the solution and it went like this: $$P(X\geqslant 1) = E[P(X\geqslant 1)|U] = E[e^{-u}] = \int_{0}^{1}e^{-x}dx $$ Could someone explain the solution to me? More specifically how did the solution derive each step?
I am implementing RBM from scratch using Tensorflow and after training my RBM on the MNIST dataset for 200 epochs using Persistent CD with two steps of contrastive divergence, I learn the weights W and hidden_bias and visible_bias for 500 hidden units. I also use a learning rate of 0.1 at the beginning, but after 100 e...
We have questions about how to run statistical tests for comparing percentages derived from very different sample sizes. Specifically, we would like to compare the % of wildtype vs knockout cells that respond to a drug. We did our first experiment a while ago with two biological replicates each (i.e., cells from 2 wild...
Part of my planned analysis in a paper is testing the difference in strength of correlations between depression and other things like social relationships and quality of life. This test is set up with two independent groups. My question: if neither group shows a significant correlation with depression and another varia...
I have received a weird comment from a referee of pretty decent Journal. I stated in the methods section that "The association of the exposure with the outcome was investigated in terms of odds ratio (OR; 95% confidence interval, CI) using generalized logistic regression". Both outcome and exposure were binary. Basica...
So I'm designing a study but not sure which statistical test to use. Participants will be split into three groups - A, B, and C. For all participants, I will first conduct a questionnaire and will use the results to rank each participant from 1-10 based on how much their answers demonstrate a particular behaviour. I wi...
The joint probability of the bivariate random vector $(X,Y)$ is given by $f_{X, Y}(x,y) = \frac{1}{2\pi}e^{-\sqrt{x^2+y^2}}$. Compute $P(X<2Y)$. My attempt: I made the obvious transformation to polar coordinates to obtain $f_{R, \theta}(r,t) = \frac{1}{2\pi}re^{-r}$. This is pleasant; $R$ and $\theta$ are independent o...
Suppose I have 100 integers and I sample 10 without replacement. What is the expected rank of the lowest out of 10 samples? i.e. my lowest integer in the 10-sample is kth smallest out of 100. what is k? How would the answer change if I sampled with replacement?
Sample Panel Data Year Firm_ID Region Industry ROE ROA Tobin_Q ESG Leverage Age Size 2012 1 Asia/Pacific Rim Oil_and_Gas_Refining_and_Marketing 12.19 6.22 1.17 51.24 1.45 1.58 6.51 2013 1 Asia/Pacific Rim Oil_and_Gas_Refining_and_Marketing 11.88 6.06 1.12 55.37 1.47 1.59 6.56 2014 1 Asia/Pacific Rim Oil_and...
I have a dataset that contains the observations of 30 people and each of them had done 20 experiments. But for simplicity let's assume I have a dataset like this: ID trial response reaction_time "s1" 1 0 2.52 "s1" 2 1 3.12 "s1" 3 0 2.66 "s2" 1 1 ...
I have a series of observations as y_actual and fit a glm model with binomial family using logit link function using glm() of R. The series y_fit gives the model estimate. Below are my data and fit y_actual = c(0.136334692, 0.37840196, 0.390388878, 0.332306853, 0.015579242, 0.004312221, 0.197257627, 0.003849912, 0...
Let's assume two real valued matrices $A,B\in R^{w\times d}$ for which $d>w$ and they both have full (column) rank. I am interested in the invertibility of the Gram matrix $$H(t):=(A+t(B-A))(A+t(B-A))^T$$ for $t\in(0,1)$ (note that $A+t(B-A)$ is the line segment between $A$ and $B$). If I am correct, there are infinite...
I am currently working on a statistical analysis for a project, I have a dependent variable ($y$) that represents delays in days, it's continuous and take integer values. I also have a set of over 90 features/dimensions/predictors, most of them are categorical by nature and nominal. The Problem : I am having a hard tim...
I know this isn't the smartest question, however I need to derive the variance of the OLS estimators in a Simple Linear Regression Model when the explanatory variable is a dummy one and all the assumptions of the Gauss-Markov theorem are valid. I know a I should arrive to this: Var(β1)=σ^2/np(1-p) but I don't know how ...
Forgive my lack of vocabulary, I've never formally studied statistics. I'm currently working on a project involving quantifying genres of music, and there are only two variables at play: The Total Points that genre has received, and the Average Points that genre has received. Currently, I'm just taking the mean of thes...
This question touches Kolmogorov-Smirnov testing, but asks actually something different. Consider independent random variables $X_1, \dots, X_n$. I want to test the following hypothesis: $$ H_0: X_i\ are\ all\ iid. $$ In other words, if $X_i\sim F_i$, I want to test if all $F_i=F_j=F$ where $F$ is some (common) distri...
Suppose $X_1 \sim \text{binom}(p_1,n_1)$ and $X_2 \sim \text{binom}(p_2,n_2)$, where $X_1$ and $X_2$ are independent, and let $p = p_1 - p_2$. How can I prove that $\hat{p} = \hat{p}_1 - \hat{p}_2$? (Here, $\hat{\theta}$ denotes the MLE of $\theta$.) Initially, I tried to calculate the distribution of $X_1 + X_2$, but ...
Assuming the cost of training these models isn't an issue, is it advantageous to model data using an ensemble of "shallow" neural networks over a single deep neural network? My thoughts right now are that ensembling can help reduce variance, and making a larger, deeper neural network can help reduce bias. Both approach...
Reading a paper recently regarding results on parameter estimation and I came across the terminology "contrast function" which was a function constructed out of a sample. If I compare it to Contrasts on Wikipedia, it doesn't outright seem to be used in the same sense as in the paper. Namely, in the wiki article a contr...
Disclaimer: I don't mean real-valued data in the sense that the data could be any number in $\mathbb{R}$, I mean it rather in that there is no proportion/percentage. Let $A$ be a dataset that has $n$ samples of how many semesters students needed to graduate from college in school X in 1950, let's assume the mean is $\m...
I have a situation where I need to estimate the number of persons exposed to a given event n or more times. For each person, I have an array of probabilities representing independent Bernoulli trials where a successful trial means 1 exposure of that individual to the event in question. My data, for instance, looks some...
As far as I know, $y=\beta x$ is a not a complex model since we have a polynomial of the first order for all variables $x_i$. I am studying the linear the bias variance trade-off, and the lecture mentioned that we can reduce the complexity of the model by reducing the number of variables. This made me confused with my ...
After having read about the curse of dimensionality, I have been looking into a filtered version of the Superconductivity dataset. The number of dimensions is 81, so initially I thought that reducing the dimensions using PCA could help to improve the prediction power. (The majority of the articles I have read about the...
This is taken from Hansen's econometrics textbook. Take the linear model: $$Y = Z\beta + e $$ Let the residuals in an IV regression be $\tilde e$ and in an OLS regression $\hat e$. If X is indeed endogeneous, will IV fit better than OLS in the sense that $\tilde e' \tilde e$ < $\hat e' \hat e$?
I am interested in estimating the integral $\int f(x) P(x) dx$, where $f(x)$ is an expensive function and $P(x)$ is has an analytic form. I would like to evaluate this with as few evaluations of $f(x)$ as possible, so I am exploring Bayesian Quadrature. If $P(x)$ is a uniform distribution, the paradigm of Bayesian quad...
So basically I have medical data where the data is collected from two different treatment groups and various variables are measured for individuals in the two groups. Data was measured before, during, and after treatment. While doing the EDA, I noticed that the Blood hemoglobin levels change significantly before the tr...
I have data that is roughly Gaussian distributed, bounded on a range of [x0, x1], w/ mean m and standard deviation s. I want to sample from the data so that I am equally likely to sample from the values far from the mean, m as I am from values close to the mean m. This in practice would transform the distribution of th...
I'm particularly concerned about the following problem when using ridge classification for predicting binary outcome When I'm encoding the binary outcome as 1 and 0; my model accuracy is 0.6456 When I'm encoding the binary outcome as -1 and 1; my model accuracy is 0.3525 Does anyone know whether the binary outcome in...
I have this problem with logit, that when I want to create confusion matrix, it simply displays the real values in the first row and in the second row, there are never any numbers. I created a lot of models (individually for each country where I analyse occurence of an event 1-it happens, 0-it does not happen), but eac...
While reading through KNN in detail, I was checking if there is a way to improve/penalize KNN? I didn't find any concrete/easily understandable solutions.
I am working with COVID-19 case data, and I derive the week-on-week growth which is basically the % change in weekly cases. I am looking to bound this data with a confidence interval,but I am not sure what method to use.
The following is a seasonal(not perfectly) time series sequence that I am trying to fit an ARIMA model to: I performed box-cox transformation, 1 seasonal differencing and 1 regular differencing to get the data in stationary format(confirmed by adf test). Following are the acf and pacf plots after the transformation: ...
basically I have the age prediction from one model: df_baseline userid|y_pred 12 |29 13 |35 14 |32 15 |39 (more data) and I have the prediction from second model: df_final userid|age 12 |31 ...
When fitting a GLMM with family=poisson(link="log") in lme4, I understand that the coefficients for the estimates of fixed effects in the summary() output must be exponentiated to be back on the scale of the original data. are the standard errors for fixed effects in the summary() output also logged and need exponenti...
I am working on a regression task, using cnn for feature extraction and fully-connected layers for generating regression values. However, the target value of each input data is an integer. There are five possible target values: 1 representing 'hate', 2 representing 'dislike', ... , and the final target value 5 represe...
I'm a student and had a question about statistical analysis. I'd like to compare post-treatment outcomes between two groups: group A who received a traditional drug (n = 200), and group B who received a newer drug (n = 100). Some post-treatment outcomes are continuous, whereas others are binary (e.g. % developing organ...
I am currently using R and am trying to figure out a way to use partial dependence plots for mixed-effects models. I have heard that PDP plots are model-agnostic, but I have never heard of any PDP for them. Can such a thing be done? Any help at all would be greatly appreciated!
I have one dependent variable (it is a binary response variable that I want to predict, let's say "t1"), and also two independent variables ("v1" and "v2"). They are both found statistically significant in univariate analysis as contributors to t1 response odds. Additionally, we preliminary know that v1 is a drug that ...
I know that when looking at the correlation between a binary and a continuous variable we should use point biserial correlation. Today I was looking at some data and mistakenly used Pearson's. When I ran point biserial correlation instead, the coefficient was equal to, but the negative of, Pearson's, which was very str...
I have some very basic questions regarding PLS. I ran PLS using SPSS on small dataset. n=312, Dependent variable=1; Independent Variables=9. Here is the output of Proportion of Variance Explained. As you can see, 8 latent factors were necessary to explain 100% variance in X (Independent Variables). However, only about...
I am running a GLM to evaluate the influence of canopy cover and vegetation density on average black-globe temperature. I ran a simple glm, but when I plot the model output, the plot does not agree with the model results. Particularly, the positive relationship between temperature and vegetation density in the model ou...
I've heard it mentioned that in difference-in-differences, regression discontinuity, or even in some other quasi-experimental research designs, that the counterfactual should be explained as a plausible outcome. I'm feeling dumb and can't wrap my head around why that's important though. Is it to explain that without th...
I am trying to find the stiffness of a damped oscillation system from a given dataset. I tried to fit a curve to a set of points using curve-fit which is a damped oscillation. I have tried to give an initial guess to the optimizer but it gives unsatisfactory results. The goal is to find the stiffness of the system and...
Coefficients Estimate Std. Error t value Pr(>|t|) (Intercept) 1.181 4.292 0.275 0.787599 UVB 1226.389 232.773 5.269 0.000152 *** SurfaceSurface 1.278 11.066 0.115 0.909837 UVB:SurfaceSurface -939.931 409.839 -2.293 0.039134 * As you can see, the p-value of the intercept of my regression model is 0.787...
Test the following hypothesis $$H_0: \lambda=\lambda_0$$ $$H_1: \lambda \neq \lambda_0$$ null distribution to be ~$gamma(20,20\lambda_0)$ given $\lambda_0=1$ and an observed sample =0.8, find the p-value. I have tried to find the CDF of the gamma distribution from 0 to 0.8 and multiplying the area by 2 for 2 tailed t...
I have a question what is the difference between constrained and unconstrained model or freely estimated model. I am trying to test for chi square difference between them to determine discriminant validity, do I add covariance arrow in the constrained model and assign number one to the covariance and the unconstrained ...
This is my TS: As I apply the adf.test(myts), see below the result: Augmented Dickey-Fuller Test data: TQ_volume_ts Dickey-Fuller = -4.5041, Lag order = 3, p-value = 0.01 alternative hypothesis: stationary Warning message: In adf.test(TQ_volume_ts) : p-value smaller than printed p-value As per the p-value, the...
Machine learning models with higher performance are often based on more complex algorithms and therefore lack interpretability or explainability and vice versa. How to compare the two important subsets in machine learning from this point of view?