Recently Published
Hierarchical clustering – pros, cons, interpretation, application
Document about hierarchical clustering, its pros, cons, interpretation and possible application
Overview of available packages for clustering methods – classes, results, switching possibilities
Document contains brief overview of available packages for clustering methods
Manipulation and Data Processing
#1. Using the 173 majors listed in fivethirtyeight.com’s College Majors dataset [https://fivethirtyeight.com/features/the-economic-guide-to-picking-a-college-major/], provide code that identifies the majors that contain either "DATA" or "STATISTICS"
#2 Write code that transforms the data below:
[1] "bell pepper" "bilberry" "blackberry" "blood orange"
[5] "blueberry" "cantaloupe" "chili pepper" "cloudberry"
[9] "elderberry" "lime" "lychee" "mulberry"
[13] "olive" "salal berry"
Into a format like this:
c("bell pepper", "bilberry", "blackberry", "blood orange", "blueberry", "cantaloupe", "chili pepper", "cloudberry", "elderberry", "lime", "lychee", "mulberry", "olive", "salal berry")
The two exercises below are taken from R for Data Science, 14.3.5.1 in the on-line version:
#3 Describe, in words, what these expressions will match:
(.)\1\1
"(.)(.)\\2\\1"
(..)\1
"(.).\\1.\\1"
"(.)(.)(.).*\\3\\2\\1"
#4 Construct regular expressions to match words that:
Start and end with the same character.
Contain a repeated pair of letters (e.g. "church" contains "ch" repeated twice.)
Contain one letter repeated in at least three places (e.g. "eleven" contains three "e"s.)
Metode Seleksi Variabel Regresi
pemodelan regresi dengan menggunakan metode seleksi peubah.
"Top MVG (Momentum+Value+Growth) 'Cheap Cigars' Stocks for 2024 (08FEb24) [SMALL:MID:MICRO Global Equities Sector < $1B (U.S. Dollars) MARKET CAP ONLY]"
(via: Yahoo Finance)
**NOT INVESTMENT ADVICE
***CONTROL YOUR RISK TO REWARD BEFORE ENTERING ANY TRADE
***DUE DILIGENCE. STOCKS INVOLVE RISK. YOU COULD LOSE YOUR $$ $MONEY $$$
Example of Transparency in Local Governments: A Fuzzy Metrics Approach
Transparency is a vital aspect of good governance that ensures accountability, integrity, and citizen participation. However, its measurement remains a challenge due to the ambiguous nature of human language. Traditional approaches rely on binary or categorical dimensions to measure transparency, which can lead to limited insights and inaccurate policy decisions. To overcome this challenge, we develop a transparency indicator based on fuzzy metrics. The transparency notion is contrary to the binary principle of having a property or not having it, that is, to be transparent or not. In our case, we apply a novel methodology designed for formative measurement and partially compensatory models using a set of qualitative dimensions. This tool provide a measure of how close (observations close to 1) or far (observations close to 0) each observation (in this setting municipality), is from the analyzed concept. This is calculated for each indicator preserving the metric structure. In this setting, this approach captures the complexity of transparency and can better identify areas for improvement in local governments. In a second step, we analyze the political, economic, and social determinants of this transparency index, relying on spatial econometric techniques to account for spatial dependencies and ensure the accuracy of our findings. In this work, we use a novel dataset that comprehensively measures transparency at the municipal level in the Valencian region. As far as we know, this is the first database that covers all municipalities in the region. By capturing the complexity of transparency, our approach can better identify areas for improvement and lead to more effective policy interventions. We argue that traditional approaches that rely on binary or categorical variables may oversimplify the concept, resulting in inadequate policy solutions that fail to address the real challenges faced by local governments.