Publications by Widi yantih
Week 6
1 Exercise 1.1 Exercise 1 Let’s work it out in R by doing a chi-squared test on the treatment (X) and improvement (Y) columns in treatment.csv First, read in the treatment.csv data. df <- read.csv("treatment.csv") table(df$treatment, df$improvement) ## ## improved not-improved ## not-treated 26 ...
7201 sym R (2198 sym/19 pcs) 2 img
Document
1 Bisection Method The bisection method is another approach to finding the root of a continuous function \(f(x)\) on an interval \([a,b]\). The method takes advantage of a corollary of the intermediate value theorem called Bolzano’s theorem which states that if the values of \(f(a)\) and \(f(b)\) have opposite signs, the interval must contain a...
41153 sym R (7260 sym/38 pcs) 14 img
Week 3
1 Brief Introduction Please watching this video, to get some ideas about Confidence Intervals (CI) 2 CI in Business This video guide you, how can you apply Confidence Intervals in Business. 3 Your Exercise In this section, your expected to get familiar with confidential intervals exercise: 3.1 Exercise 1 Find a point estimate of average univer...
26658 sym R (6125 sym/56 pcs) 5 img
Linear Programming Modeling
## The Problem Suppose a farmer has 75 acres on which to plant two crops: wheat and barley. To produce these crops, it costs the farmer (for seed, fertilizer, etc.) $120 per acre for the wheat and $210 per acre for the barley. The farmer has $15000 available for expenses. But after the harvest, the farmer must store the crops while awaiting avou...
3118 sym R (5525 sym/37 pcs) 1 img
Linear Programming Modeling_Optimisasi_week3_widiyantih
## The Problem Suppose a farmer has 75 acres on which to plant two crops: wheat and barley. To produce these crops, it costs the farmer (for seed, fertilizer, etc.) $120 per acre for the wheat and $210 per acre for the barley. The farmer has $15000 available for expenses. But after the harvest, the farmer must store the crops while awaiting avou...
3182 sym R (5524 sym/37 pcs) 1 img
Probability Distributions
1 Binomial Distribution 1.1 Question What is a binomial distribution in Statistics? What is binomial distribution used for? Please argue 4 requirements needed to be a binomial distribution? Is a binomial distribution a normal distribution? Suppose there are twenty multiple choice questions in an Statistics class quiz. Each question has five pos...
28521 sym R (768 sym/24 pcs)
Lab5: General Optimization
1 General Optimization In mathematics, nonlinear programming (NLP) is the process of solving an optimization problem where some of the constraints or the objective function are nonlinear. An optimization problem is one of calculation of the extrema (maxima, minima or stationary points) of an objective function over a set of unknown real variables...
43308 sym R (4424 sym/23 pcs) 9 img
Week 6_OPT
1 Praktek 12: Ekspektasi Maksimalisasi Dalam kelas ini kita akan menggunakan algoritma Ekspektasi Maksimalisasi untuk mengestimasi parameter Campuran Gaussian. Metode ini menyediakan pengklasifikasi yang tidak terjaga dan sangat berguna ketika distribusi Gaussian diasumsikan. Misalkan kita ingin memodelkan parameter populasi yang diasumsikan menj...
15776 sym R (4351 sym/16 pcs) 7 img
Analisis Runtun Waktu
1 Carilah persamaan \(Yule walker\) untuk ARMA(1,1) Model ARMA (autoregressive moving average) dengan orde p dan q dan disingkat dengan ARMA(p,q) mempunyai bentuk umum : \[Z_t=φ_1 Z_{t−1}+φ_2 Z_{t−2}+...+φ_p Z_{t−p}+a_t-θ_ta_{t-1}-...-θ_qa_{t-q}\] Misalkan diinginkan untuk mendiskusikannya sebagai kasus khusus yang pertama yaitu ARMA(1...
11135 sym R (2456 sym/5 pcs) 4 img
Optim_Midterm
1 Question 1 Find the maximum solution to \[Z=4x+3y\] Suppose that the objective function is subject to the following constraints: \[x≥0\] \[y≥2\] \[2y≤25-x\] \[4y≤2x-8\] \[y≤2x-5\] ##Answer # Import lpSolve package library(lpSolve) # Set coefficients of the objective function f.obj <- c(4, 3) # Create constraint matrix f.con = mat...
3348 sym R (3922 sym/25 pcs) 2 img