Rstats

Reveal the stories behind those Likert-type data

Introduction This blog is about two new functions, Model_factors and garrett_ranking that have been added to the Dyn4cast package. The two functions provides means for gaining deeper insights into the meaning behind Likert-type variables collected from respondents. Garrett ranking provides the ranks of the observations of the variables based on the level of seriousness attached to it by the respondents. On the other hand, Model factors determines and retrieve the latent factors inherent in such data which now becomes continuous data.

Linear model and Transformations

Introduction The linear model still remains a reference point towards advanced modeling of some datasets as foundation for Machine Learning, Data Science and Artificial Intelligence in spite of some of her weaknesses. The major task in modeling is to compare various models before a selection is made for one or for advanced modeling. Often, some trial and error methods are used to decide which model to select. This is where this function is unique.

Data transformation and standardization in r

Introduction Often economic and other Machine Learning data are of different units or sizes making either estimation, interpretation or visualization difficult. The solution to these issues can be handled if the data can be transformed to unitless or data of similar magnitude. When the need to transform thus arises, then one finds it difficult to get handy function to achieve that. In this blog, I share with you a function data_transform from Dyn4cast package that can easily transform your data.

Better and enhanced method of estimating Mallow's Cp

Introduction In statistics, Mallows's Cp, named for Colin Lingwood Mallows, an English statistician, is used to assess the fit of a regression model that has been estimated using ordinary least squares. Models with a Mallows' Cp value near P+1 (i.e. the number of explanatory variables + 1) have a low bias. If every potential model has a high value for Mallows' Cp, this indicates that some important predictor variables are likely missing from each model.

Frequency of occurrence of COVID-19 cases across Nigeria

Introduction In the 933 days since the first COVID-19 case was reported on February 29, 2020 in Nigeria, about 267,511 cases have been recorded with 1.18% fatalities. Except for Kogi State which Government refused monitoring laboratories to be setup in her health facilities for confirming and managing COVID-19, cases have been recorded on regular basis in the other 35 states and Abuja, the Federal Capital. However, the frequency of cases vary from state to state.

Modelling of COVID-19 distribution in Nigeria

Load library and the data The data is scrapped from the website of the Nigerian Centre for Disease Control (NCDC) i.e (NCDC 2020). The scrapping was done with some bits of tricks. Please see my post on that. The BREAKS were established from the visual inspection of the data (see (Nmadu, Yisa, and Mohammed 2009)) library(tidyverse) library(splines) library(Metrics) library(scales) library(readxl) library(patchwork) library(Dyn4cast) BREAKS <- c(70, 131, 173, 228, 274, 326) z.

COVID19 data scrapping from Nigerian Centre for Disease Control (NCDC)

Introduction On the advent of COVID-19 globally and since February 29, 2020 in Nigeria, motivations to provide visuals of the trends and to provide guide to Nigerians on how to conduct themselves responsibly was boosted by the publication of the first coronavirus package and the awesome animation of the province level by Krispin and Byrnes 2020. That immediately sent me working on how to animate the cases for Nigeria. However, this desire was met with short comings because the data publish at the Johns Hopkins University Center for Systems Science and Engineering (JHU-CCSE) by the Nigerian Centre for Disease Control is agrregated nationally, whereas the animations that motivated me were regional for Australia.

African Continental Free Trade Area (AfCFTA):Potential Welfare Effects and Impacts on Nigerian Farmers

The African Continental Free Trade Area (AfCFTA) is a platform created to increase intra-trade and ease movement of persons and goods across borders within Africa as well as promote economic welfare and wellbeing of member states. Nigeria being a …

Nigeria's Economic Management:Reflections Through Monthly Inflation Rate Movement From 1996 to 2020 and Beyond

Economic management is the rules, policies, procedures and skills deployed to manage the resources, finances, income, and expenditure of a community, business enterprise or a whole country. The major instruments of economic management are the fiscal …

Agriculture's share in Nigerian GDP:short and long-term effects of climate change and arable land availability

This study investigated the relationship between the share of agriculture in GDP and some socio-economic and climate variables using ARMA, ARDL and structural change estimation in R. The data, covering the period 1960-2016, were obtained from various …