This project will analyze the Influencers social media in Tiktok, provide data visualization, and assessing the methodology used by the influeners in the social media

Data Collection

Raw dataset scrapped from Apify, using search queries for “Financial advice”, “Forex”, “investment”, “money”, “rich” Ethical note; Public data only; no user ineractions

Screenshot 2024-09-02 121444.png

The data will be exported to CSV and cleaned up using matplotlib and python

import pandas as pd
import matplotlib.pyplot as plt

file_path_1 = './scrappeddata1.csv'
file_path_2 = './scrappeddata2.csv'
file_path_3 = './scrappeddata3.csv'
file_path_4 = './scrappeddatamoneytips.csv'

data1 = pd.read_csv(file_path_1)
data2 = pd.read_csv(file_path_2)
data3 = pd.read_csv(file_path_3)
data4 = pd.read_csv(file_path_4)

data = pd.concat([data1, data2, data3, data4], ignore_index=True)

relevant_columns = [
    'authorMeta/name', 'authorMeta/nickName', 'authorMeta/fans', 
    'authorMeta/heart', 'authorMeta/digg', 'authorMeta/following', 
    'text', 'webVideoUrl'
]

data = data[relevant_columns]
data = data.drop_duplicates()

Regression Analysis

An Ordinary Least Squares (OLS) regression analysis was employed to quantify the relationship between the number of followers and the number of likes for TikTok influencers. The OLS method is renowned for its ability to estimate the linear relationship between a dependent variable and one or more independent variables.

In this analysis, the dependent variable is the number of followers, representing the influencer's audience size. On the other hand, the independent variable is the number of likes, a parameter for the engagement level and popularity of the influencer's content.

The following equation can express the OLS regression model:

Where:

image.png